]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
In HTTP/1.1, whether or not a request message contains a body
authorRoy T. Fielding <fielding@apache.org>
Sat, 19 Jul 1997 20:17:41 +0000 (20:17 +0000)
committerRoy T. Fielding <fielding@apache.org>
Sat, 19 Jul 1997 20:17:41 +0000 (20:17 +0000)
commit450b8179a9c7d08329fa9553483f280f10a1183a
tree5d912e524055088ba3d5b2b7229b905c061a173c
parent16b77dd4c68bd5c94b39782794d82bbc2425d379
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 take care of that.

PR: 378
Reviewed by: Dean Gaudet

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3@78677 13f79535-47bb-0310-9956-ffa450edef68
APACHE_1_2_X/src/CHANGES
APACHE_1_2_X/src/include/http_protocol.h
APACHE_1_2_X/src/main/http_core.c
APACHE_1_2_X/src/main/http_protocol.c
APACHE_1_2_X/src/main/http_request.c