Open Bug 366932 Opened 18 years ago Updated 2 years ago

Transfer-Encoding: chunked on incoming requests

Categories

(Testing :: General, defect)

defect

Tracking

(Not tracked)

People

(Reporter: Waldo, Unassigned)

References

Details

Transfer-Encoding: chunked allows message bodies to be generated without knowing the size of the full contents of the message prior to sending it (for the Content-Length header). Also, because transfer-encoding is a protocol-level feature, it can be applied to messages by proxies, so even a sender which always sends non-chunked messages can't guarantee that a non-chunking server will get the request correctly. This bug applies only to decoding incoming messages whose bodies have been encoded this way (and thus depends on support for message bodies, from bug 366371). Sending chunked messages is important in obviating the current requirement of buffering the entire message before sending it (for example, if one wanted to test that downloads of files >4GB work correctly). Since this will require API additions to allow handlers to control when data past the request headers has been generated, it'll be another bug for the future which will require more thought to implement correctly.
> Sending chunked messages is important in obviating the current > requirement of buffering the entire message before sending it Well another possibility would be just not to send a content-length header. (but, I do agree that supporting chunked at least for sending would be nice).
Since bug 343872 seems to be only for chunked+gzip, if it's fixable its test will probably need this.
Blocks: 343872
Moving httpd.js bugs to the new Testing :: httpd.js component; filter out this bugmail by searching for "ICanHasHttpd.jsComponent".
Component: Testing → httpd.js
Product: Core → Testing
Target Milestone: mozilla1.9alpha1 → ---
Version: Trunk → unspecified
...and changing the QA contact as well. Filter on the string "BugzillaQAContactHandlingIsStupid".
QA Contact: testing → httpd.js
Component: httpd.js → General

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: jwalden → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.