Commit Graph

37 Commits

Author SHA1 Message Date
Jae-Seong Lee
f620ed6c64 Bug 521189 - Some necko unit tests fail or hang with 'strict' & 'werror' on. r=jwalden 2009-11-10 14:11:31 -08:00
Jeff Walden
891b7bc8b8 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
fa4f06df47 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
--HG--
extra : rebase_source : 2d61cccef9b076b2e5dbe1074af99f572d60b700
2009-05-28 14:54:42 -07:00
Jeff Walden
d768ee57c5 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
ec1cde1369 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
583c6b4c88 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
b90f4bc271 Bug 470716. Make the close-on-completion behavior of nsAsyncStreamCopier configurable. r+sr=bzbarsky. 2009-03-30 15:10:13 -04:00
Bjarne
696e7d1565 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
b3c9076b8a 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
31c00e6eb5 Bug 203271 - max-age should override expires in http headers; r+sr=cbiesinger 2009-03-13 15:51:29 +01: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
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
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
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
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
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
Chris Double
22956f0d68 Bug 398185 - Add byte range request support to JS httpd - r=jwalden+bmo 2008-10-17 12:38:14 +13: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
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
Jeff Walden
074efa08c7 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
jwalden@mit.edu
38eebf9225 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
jwalden@mit.edu
075a948f22 Bug 395559 - Fix two typos in httpd.js which prevented the registerFile API from working correctly, and add a dumpn so that errors in handlers can be detected more easily by reading console dumps. r=sayrer, NPOTB, test-only, etc. 2007-09-11 17:24:08 -07:00
jwalden@mit.edu
a3ea5d6c54 Bug 370245 - Make the HTTP server asynchronously process requests, and pave the way for future improvements to processing. r=biesi, a=bsmedberg on a testing-only change 2007-08-23 15:07:40 -07:00
jwalden@mit.edu
bfd8039d8a Attempt to recommit part of the patch for bug 384192, in the hopes that this makes it easier to figure out what part of it is wrong. This part enables proxying for the added domains but doesn't actually use it. 2007-07-12 16:33:51 -07:00
jwalden@mit.edu
e56925513a Back out 384192. 2007-07-12 01:46:07 -07:00
jwalden@mit.edu
7c3f8e2c1c Turn on server debugging for a cycle to figure out the orange, bug 384192. 2007-07-11 23:41:56 -07:00
jwalden@mit.edu
76bb7db098 Bug 384192 - Mochitest needs to support subdomain tests; use a proxy hack to pretend the tests are available on example.com, example.org, and various subdomains of each, on various ports, to satisfy this need. r=robcee 2007-07-11 22:38:47 -07:00
jwalden@mit.edu
4523eb7fe5 Bug 367214 - mod_cern_meta support in the HTTP server, enabling modification of the HTTP status and headers sent in the response for a file. r=biesi 2007-05-20 18:35:06 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00