Commit Graph

152 Commits

Author SHA1 Message Date
Chris Double
7a0ea88deb Backed out changeset 98381f8c8e08 due to test failure 2009-03-05 23:19:14 +13:00
Dan Witte
1fa46a3004 change cookie eviction so that purges only take place when the limit on max cookies is reached, and the oldest cookie is greater than a set age. b=444600, r=sdwilsh,
sr=mconnor.
2009-03-04 22:11:24 -08:00
Jeff Walden
273325e9f8 Followup nitfix to bug 476302 that wasn't noticed when I reviewed the patch there 2009-02-27 15:57:07 -08:00
Honza Bambas
6bf40c240c Bug 476302 - Allow httpd.js return multiple headers with same name, r=jwalden 2009-02-27 15:09:06 +01:00
Honza Bambas
5e815989ba Bug 468443 - Remove PUT/DELETE support from httpd.js, r=jwalden 2009-02-18 14:31:30 +01:00
Jeff Walden
5ab2f999de Bug 471158 - Add getSharedState/setSharedState functionality to SJS, convert existing state to per-path state. r=honzab
--HG--
rename : netwerk/test/httpserver/test/data/sjs/state.sjs => netwerk/test/httpserver/test/data/sjs/state2.sjs
2009-02-04 11:08:03 -08:00
Dan Witte
0bf164f8a4 bump cookie limit from 1000 to 3000 to reduce occurrence of cookie purges. b=444600, r+sr=mconnor. 2009-02-03 19:11:33 -08:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Phil Ringnalda
4d8777d31a Bug 243621 - (Back out) Standardize QueryInterface without throw, r=timeless, sr=sicking 2009-01-15 20:02:21 -08:00
Jeff Walden
6ff11cc4e7 Bug 381598 - HTTP server tests cleanup, round two. r=me because the old tests are difficult to understand and it's not worth making someone read them to do a review 2008-12-18 11:05:40 -08:00
Jeff Walden
3832d15fae Bug 381598 - HTTP server tests cleanup. r=me because I don't think it's a good use of anyone's time to disentangle the tests as they were written prior to this checkin 2008-12-15 21:02:41 -08:00
Jeff Walden
b221abac7a Bug 465921 - httpd.js fails to deliver after about 35 reloads of test_seek1.html, most likely because the connection is being prematurely terminated by the client. r=bz 2008-12-15 21:02:40 -08:00
Boris Zbarsky
068f0d455b Adding a test for stream copier 2008-12-15 11:58:08 -05:00
Jeff Walden
33fffe4388 Followup nitfix from review comment, bumping iteration count up one to 'fail' more places if a regression happens. 2008-12-12 11:43:51 -08:00
Jeff Walden
a91717aa17 Bug 468467 - If onInputStreamReady doesn't process all of the Request-Line the first time, httpd.js asserts. r=honzab 2008-12-12 11:31:30 -08:00
Dave Camp
1f1b980ffe Bug 441751 - "Directives not to cache pages ignored." [r+sr=bzbarsky]
* * *
Bug 441751 - "Directives not to cache pages ignored." (fix for offline cache updating) [r+sr=bzbarsky]
2008-12-11 21:57:47 -08:00
Dave Camp
30b213c23a Backed out changeset e33f490c8764 2008-12-08 20:26:56 -08:00
Dave Camp
06a2be6538 Bug 441751: Fix up LOAD_ONLY_FROM_CACHE. r+sr=bz 2008-12-08 19:24:33 -08:00
Jeff Walden
7324e8cab7 Bug 463327 - Enable stateful SJS handlers somehow other than through universal insta-XSS. r=honzab 2008-12-03 22:24:59 -08:00
Ehsan Akhgari
f6339a1187 Bug 462707 - nsHttpChannel::GetEntityID should respect Accept-Ranges response header; r,sr=biesi a191=beltzner 2008-11-28 15:28:57 -08:00
Boris Zbarsky
586f905b27 Fixing test to test the right thing 2008-11-25 22:32:12 -05:00
Jeff Walden
9ba0796b8f Bug 463254 - httpd.js fails on mac when running test_CrossSiteXHR.html. The problem was that exceptions were causing files not to be closed on OS X, and we were hitting the open-file limit; add some try-finally magic to close in a failsafe manner. r=honzab 2008-11-06 12:44:27 -08:00
Jeff Walden
060e9f580e Bug 462864 - Expose request body as a stream, state-machine refactoring in httpd.js. r=honzab 2008-11-05 15:31:30 -08:00
Gavin Sharp
d54eed15ff Backed out changeset f014c59ad81d 2008-11-04 23:35:39 -05:00
Jeff Muizelaar
d6bc35b4d4 Bug 235853: Defer proxy resolution for HTTP and HTTPS PAC to avoid blocking main thread during DNS resolution, original patch by shaver@mozilla.org, r+sr=biesi 2008-11-04 23:11:31 -05:00
Ehsan Akhgari
4770654ff7 Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [unit test API changes]; r,sr=mconnor 2008-11-04 02:52:22 +03:30
Jeff Walden
0b43a90166 Consistently rebrand to httpd.js, since that's basically how everyone knows about it and because the older name was ugly. No bug, basically comment-only changes, r+sr+ui-r+a=mconnor per the inestimable firebot 2008-11-02 22:46:54 -08:00
Ehsan Akhgari
6b5f7550c0 Bug 411952 - Cookie's creationTime needs to be exposed via nsICookie2; r=mconnor, sr=bzbarsky (unit test) 2008-10-31 17:21:31 +03:30
Ehsan Akhgari
7324bfd3ea Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [cache part]; r=cbiesinger,dcamp sr=cbiesinger 2008-10-25 13:56:20 +03:30
Boris Zbarsky
d2d14f4bcb Fixing test to actually pass on Mac 2008-10-22 13:45:07 -04:00
Boris Zbarsky
91368d770a Fixing indent 2008-10-22 11:44:51 -04:00
Boris Zbarsky
2938178520 Bug 455311. Better handling of Cancel and IsPending() on nsBaseChannel redirects, plus unit tests. r+sr=biesi 2008-10-22 11:42:32 -04:00
Ehsan Akhgari
90c0874889 Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [cookie part]; r=dwitte,mconnor sr=bzbarsky 2008-10-20 00:42:53 +03:30
Chris Double
22956f0d68 Bug 398185 - Add byte range request support to JS httpd - r=jwalden+bmo 2008-10-17 12:38:14 +13:00
Michal Novotny
ca0850cf6f Bug 429347 - "URL parser gets confused by ref with no path" [r=bzbarsky sr=cbiesinger] 2008-10-01 00:34:29 -05:00
Michal Novotny
50b78fb725 Bug 412945 - "Malformed POST requests generated when using elance.com" [r=biesi sr=bzbarsky] 2008-10-01 00:31:24 -05:00
Michal Novotny
0b7776d77b Bug 365133 - "The FTP folder won't open!" [r=bzbarsky sr=dougt] 2008-10-01 00:28:39 -05:00
Daniel Veditz
e519ee34e1 Bug 380994 - "Fix for bug 367428 lets through escaped slashes on Linux (windows too on trunk)" [r=biesi] 2008-10-01 00:15:58 -05:00
Jonas Sicking
6f2a7e0f6b Update Access-Control implementation to match changes in spec. b=389508 r/sr=jst 2008-09-30 17:50:42 -07:00
Chris Double
b800307262 Backed out changeset c2e02e6250db 2008-09-25 19:34:29 +12:00
Chris Double
b73459c8fc Bug 398185 - Add byte range request support to JS httpd - r+=sayrer 2008-09-25 15:30:35 +12:00
Ehsan Akhgari
530b63bf4e Bug 455598 - nsICookieManager2.cookieExists incorrectly assumes a nsCookie param; test; r=dwitte sr=bzbarsky 2008-09-20 16:28:09 +02:00
Magnus Melin
e3168d95a2 Bug 431890: nsStandardURL::SetSpec does not fail when host contains leading space " ". r+sr=cbiesinger 2008-09-14 21:15:06 +03:00
Boris Zbarsky
ce2a8dfd0a Bug 454411. Fix caching of redirects to actually work. r+sr=biesi 2008-09-09 21:39:38 -04:00
Olli Pettay
a4dcb20ef2 Bug 454217, httpd.js doesn't handle large body properly, r=sayrer, +change XHR POST test to use request.body 2008-09-09 12:32:35 +03:00
Honza Bambas
8ee27486d6 Bug 443610 - Add body and PUT handling to httpd.js; "DELETE" part; r=sayrer 2008-09-07 17:19:08 +02:00
Honza Bambas
4dba47826b Bug 443610 - Add body and PUT handling to httpd.js; "PUT" part; r=sayrer 2008-09-07 17:18:06 +02:00
Jan Odvarko
232d776f64 Bug 430155. New nsHttpChannel interface to allow examination of HTTP data before it is passed to the channel's creator. r=biesi, sr=bzbarsky 2008-08-25 13:21:28 -04:00
Michal Novotny
96ad2865a5 Bug 379034 - Relative URLs with capitalized schemes are treated as absolute, r=biesi sr=bzbarsky 2008-08-19 10:48:10 -04:00
Serge Gautherie
df8933a41f Bug 450177 - "TestBlockingSocket.cpp(158) : warning C4390: ';' : empty controlled statement found; is this the intent?", r+sr=biesi 2008-08-14 08:44:42 +02:00