]> granicus.if.org Git - apache/commit
Change ap_get_brigade prototype to remove *readbytes in favor of readbytes.
authorJustin Erenkrantz <jerenkrantz@apache.org>
Fri, 25 Jan 2002 01:11:47 +0000 (01:11 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Fri, 25 Jan 2002 01:11:47 +0000 (01:11 +0000)
commit268666659d571fed76a6a73dc4576d23add050a5
tree44bc08edb40c53a92c7502614a24a8d8a2fd43a2
parent89c615b9405595b7f34eac152b38cd5e823c025b
Change ap_get_brigade prototype to remove *readbytes in favor of readbytes.
If you need the length, you should be using apr_brigade_length.  This is
much more consistent.  Of all the places that call ap_get_brigade, only
one (ap_http_filter) needs the length.  This makes it now possible to
pass constants down without assigning them to a temporary variable first.

Also:
- Change proxy_ftp to use EXHAUSTIVE mode (didn't catch its -1 before)
- Fix buglet in mod_ssl that would cause it to return too much data in
  some circumstances

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93014 13f79535-47bb-0310-9956-ffa450edef68
17 files changed:
include/util_filter.h
modules/echo/mod_echo.c
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/proxy/proxy_ftp.c
modules/proxy/proxy_http.c
modules/proxy/proxy_util.c
modules/ssl/ssl_engine_io.c
server/core.c
server/mpm/experimental/perchild/perchild.c
server/mpm/perchild/perchild.c
server/protocol.c
server/util_filter.c