Commit 7868fb8b authored by brian's avatar brian
Browse files

Submitted by: Alexei Kosut

Here's a patch that provides a number of fixes to chunked
transfer-coded input when using get_client_block:

1) Correctly works with 1-byte reads (like content-lengthed reads,
which was fixed a week or so ago, this was not working.)

2) Fix "footer" reading. It now just calls get_mime_headers(), which
should work. This way, they're accessible to the server, as they
should be, though (unfortunately?) mod_cgi calls get_client_block too
late to pass it on to the CGI script. Unless anyone knows a way to
modify the environment of a child after you've forked it.

It also adds a few comments (there was one part it took me five
minutes to remember what the heck it was doing... and I wrote it. So I
figured I'd better throw in a comment). Anyhow, I think it's important
to make this work right, since it's an integral part of HTTP/1.1


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76979 13f79535-47bb-0310-9956-ffa450edef68
parent 312f1555
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment