]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Back out the recent change to ap_get_brigade, to make it use indirection
authorRyan Bloom <rbb@apache.org>
Sun, 6 May 2001 23:27:14 +0000 (23:27 +0000)
committerRyan Bloom <rbb@apache.org>
Sun, 6 May 2001 23:27:14 +0000 (23:27 +0000)
commit1c98aabbf13be673d386684d13e066139eed3c68
treeaf55065613e5e674267768b224210e378323225d
parenta8c521cf1e9897c6041988d001f31ca7d6b77a7d
Back out the recent change to ap_get_brigade, to make it use indirection
again.  The problem is that the amount of data read from the network,
is not necessarily the amount of data returned from the filters.  It is
possible for input filters to add bytes to the data read from the network.

To fix the original bug, I just removed the line from ap_get_client_block
that decremented r->remaining, we allow the http_filter to do that for
us.

I have also removed an incorrect comment.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89041 13f79535-47bb-0310-9956-ffa450edef68
14 files changed:
include/util_filter.h
modules/experimental/mod_case_filter_in.c
modules/experimental/mod_charset_lite.c
modules/experimental/mod_ext_filter.c
modules/http/http_protocol.c
modules/http/http_request.c
modules/http/mod_core.h
modules/mappers/mod_alias.c
modules/tls/mod_tls.c
server/core.c
server/mpm/experimental/perchild/perchild.c
server/mpm/perchild/perchild.c
server/protocol.c
server/util_filter.c