Commit 1ce0dea3 authored by Roy T. Fielding's avatar Roy T. Fielding
Browse files

In HTTP/1.1, whether or not a request message contains a body

is independent of the request method and based solely on the presence
of a Content-Length or Transfer-Encoding.  Therefore, our default
handlers need to be prepared to read a body even if they don't know
what to do with it; otherwise, the body would be mistaken for the
next request on a persistent connection.  discard_request_body()
has been added to the API to make this easier for modules.

PR: 378
Reviewed by: Dean Gaudet


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@78678 13f79535-47bb-0310-9956-ffa450edef68
parent ec6c9ea0
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