]> granicus.if.org Git - apache/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)
commit53c5df33be15d6811a638601f29e282e5bea82dd
tree348a66ed587d6a54fbd471689e1aae358fe36cde
parent91aac8f097d69193aa6ee986110eb4d05fb8477d
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