]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Fix LimitRequestBody directive by moving the relevant code from
authorJustin Erenkrantz <jerenkrantz@apache.org>
Wed, 2 Jan 2002 07:56:25 +0000 (07:56 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Wed, 2 Jan 2002 07:56:25 +0000 (07:56 +0000)
commit8c16aeeeb84ef7c2fc447bc7abf2f879bb4a0f4d
tree348a66ed587d6a54fbd471689e1aae358fe36cde
parentdf91efdc0f89ef63355868ac7cf0001ba0d7c0ce
Fix LimitRequestBody directive by moving the relevant code from
ap_*_client_block to ap_http_filter (aka HTTP_IN).  This is the
only appropriate place for limit checking to occur (otherwise,
chunked input is not correctly limited).

Also changed the type of limit_req_body to apr_off_t to match the
other types inside of HTTP_IN.  Also made the strtol call for
limit_req_body a bit more robust.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92700 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
include/http_core.h
modules/http/http_protocol.c
server/core.c