Commit Graph
168 Commits
Author SHA1 Message Date
Brad Lassey cf8558308e backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher fc440b802d Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Kyle Huey 74827fb435 Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher 3ff94711b5 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Clint Talbert a7c210544a Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box 2010-03-07 17:34:23 -08:00
Joel Maher b51e4506cb Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte 2010-03-07 16:08:05 -08:00
Zack Weinberg 2ac8e0d36b Bug 540633: Label httpd.js debug logs, optionally timestamp them, and add support for enabling or disabling them in the middle of a run (currently only for mochitests). r=jwalden 2010-02-09 14:07:33 -08:00
Zack Weinberg 21b7116c19 Bug 536603 followup: Look up network.http.max-connections-per-server in httpd.js, rather than hardwiring a constant that needs to be bigger than that pref. r=jwalden 2010-01-29 18:17:33 -08:00
Zack Weinberg fdb56ed420 Bug 536603 potential fix: in httpd.js, the server socket's queue limit should be larger than the browser-side max number of connections per server. r=jrmuizel 2010-01-18 18:12:39 -08:00
Zack Weinberg efa952a7f4 Back out instrumentation for bug 536603 and re-disable test 2010-01-18 14:54:56 -08:00
Zack Weinberg 7aa13b8a12 Extensive debugging instrumentation for bug 536603 2010-01-18 09:03:50 -08:00
Robert O'Callahan 0fa4e0fbb7 Bug 526323. httpd.js should send custom headers with 416 responses. r=jwalden 2009-12-16 09:08:58 +13:00
Jae-Seong Lee 0c9d871d16 Bug 521189 - Some necko unit tests fail or hang with 'strict' & 'werror' on. r=jwalden 2009-11-10 14:11:31 -08:00
Robert O'Callahan b7643d3747 Bug 508128. Fix type mismatch in RawTests. r=jwalden 2009-11-10 14:00:35 +13:00
Robert O'Callahan ac22b192f8 Bug 508128. Fix another case of GC stripping JS wrapper objects of previously QIed interfaces 2009-11-10 14:00:35 +13:00
Jeff Walden 59d552ac80 Bug 526686 - Add QueryInterface methods to all exposed types of objects in httpd.js. Also change nsIHttpRequestMetadata to nsIHttpRequest for a little conciseness. r=waylon, not worth someone's time to review trivial code changes and renamings 2009-11-06 16:24:32 -08:00
Jeff Walden 2d6e2b6e5d Forgot to bump UUID in bug 484027, doing so now, r=sparky 2009-05-30 21:26:17 -07:00
Jeff Walden dbb0733189 Bug 484027 - Add a method providing minimally controlled arbitrary write access to the connection within a response, allowing arbitrary information (even data which is not a syntactically valid HTTP response) to be sent in responses. r=sayrer 2009-05-28 14:54:42 -07:00
Jeff Walden d9e5b5b81c Bug 482418 - HTTP range handling code shouldn't run when requesting and processing SJS files. Tag-team patching and testing effort by roc and me, r=me 2009-04-23 14:04:50 -07:00
Jeff Walden aa654fd854 Disable debug logging in httpd.js now that the previous change appears acceptable to tinderboxen. Also disable test_start_stop.js on Windows, because Windows is dumb and will let me asyncListen on two nsIServerSockets at the same time on the same port without the second such call throwing an exception. r=bloatedtinderboxlogs, r=stupidwindows 2009-04-15 17:55:36 -07:00
Jeff Walden d0f179a163 Bug 396226 - Provide an API to asynchronously generate HTTP responses in httpd.js, and implement a state-storage system which can store object references to provide greater contextual information in handlers. NB: this push enables httpd.js debug output just in case something goes wrong, to be disabled as soon as it's clear nothing has -- expect the first Windows builds to finish next century sometime. r=sayrer 2009-04-15 13:19:35 -07:00
Michal Novotny b801ed018f Bug 470716. Make the close-on-completion behavior of nsAsyncStreamCopier configurable. r+sr=bzbarsky. 2009-03-30 15:10:13 -04:00
Ted Mielczarek 31c7dc8591 bug 482085 - fix all xpcshell tests to not reference files from the srcdir. r=bsmedberg,waldo 2009-03-21 11:20:00 -04:00
Bjarne 41338f3b87 Bug 203271 - max-age should override expires in http headers; r=(cbiesinger + jwalden+bmo) sr=cbiesinger 2009-03-19 00:59:36 +01:00
Serge Gautherie be0ee069c1 Backed out changeset: be6d39f94146 of
Bug 203271 - max-age should override expires in http headers; r+sr=cbiesinger
which breaks all test suites.
2009-03-13 19:08:52 +01:00
Bjarne ed28152ba6 Bug 203271 - max-age should override expires in http headers; r+sr=cbiesinger 2009-03-13 15:51:29 +01:00
Jeff Walden ccdad15079 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 f1f57735a7 Bug 476302 - Allow httpd.js return multiple headers with same name, r=jwalden 2009-02-27 15:09:06 +01:00
Honza Bambas 81db60da0c Bug 468443 - Remove PUT/DELETE support from httpd.js, r=jwalden 2009-02-18 14:31:30 +01:00
Jeff Walden 58012a508d Bug 471158 - Add getSharedState/setSharedState functionality to SJS, convert existing state to per-path state. r=honzab 2009-02-04 11:08:03 -08:00
Jeff Walden 7ea663379f 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 0221364275 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 4e3906faab 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
Jeff Walden 74aa7b2d68 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 9327412cbe 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
Jeff Walden f33c2cd7d4 Bug 463327 - Enable stateful SJS handlers somehow other than through universal insta-XSS. r=honzab 2008-12-03 22:24:59 -08:00
Jeff Walden 30661ff4c3 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 8a596f03d6 Bug 462864 - Expose request body as a stream, state-machine refactoring in httpd.js. r=honzab 2008-11-05 15:31:30 -08:00
Jeff Walden 23c0b41b4c 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
Chris Double 569d9219af Bug 398185 - Add byte range request support to JS httpd - r=jwalden+bmo 2008-10-17 12:38:14 +13:00
Jonas Sicking c8e37fb5f2 Update Access-Control implementation to match changes in spec. b=389508 r/sr=jst 2008-09-30 17:50:42 -07:00
Chris Double d81dc83f45 Backed out changeset c2e02e6250db 2008-09-25 19:34:29 +12:00
Chris Double e14cb1d359 Bug 398185 - Add byte range request support to JS httpd - r+=sayrer 2008-09-25 15:30:35 +12:00
Olli Pettay d658d45525 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 e48930c72c Bug 443610 - Add body and PUT handling to httpd.js; "DELETE" part; r=sayrer 2008-09-07 17:19:08 +02:00
Honza Bambas 3f22508a1a Bug 443610 - Add body and PUT handling to httpd.js; "PUT" part; r=sayrer 2008-09-07 17:18:06 +02:00
Jeff Walden c1031870fd Bug 428009 - Update the HTTP server to require a *correct* host be specified with it, not just *a* host via an absolute URI as Request-URI or a specified Host header. This also gives request handlers proper details about the location to which the request was targeted. r=biesi on the raw socket usage in the test code, r=ted on the build changes, r=sayrer on the server changes 2008-06-07 02:43:15 -04:00
Benjamin Smedberg 22f6a79e79 Bug 427831 - CHECK FAILED: file.txt == CVS/ -- no more CVS! r=waldo 2008-04-09 00:07:04 -04:00
c9f91ed125 Add a bunch of forgotten |false| parameters to setHeader calls in httpd.js server handlers; no functionality change because absence defaulted to false. No bug, test-only set of trivial changes so self-reviewing... 2008-03-18 10:42:39 -07:00
c0672b4a6d Bug 401649 - JS CGI support in httpd.js -- create responses conditioned on header values and HTTP method types! r=sayrer 2008-02-05 17:12:32 -08:00