]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
New directive ProxyIOBufferSize. Sets the size of the buffer used
authorGraham Leggett <minfrin@apache.org>
Sat, 9 Mar 2002 07:15:33 +0000 (07:15 +0000)
committerGraham Leggett <minfrin@apache.org>
Sat, 9 Mar 2002 07:15:33 +0000 (07:15 +0000)
commit56a7c0d889de64a249a4ff8e030cd0275f9a091e
tree07a693a65500f2ddfa83ccbfc513036f358dc519
parent44b16c5a1b77c5939d1c6fbaf262112647e74309
New directive ProxyIOBufferSize. Sets the size of the buffer used
when reading from a remote HTTP server in proxy.

Modify receive/send loop in proxy_http and proxy_ftp so that
should it be necessary, the remote server socket is closed before
transmitting the last buffer (set by ProxyIOBufferSize) to the
client. This prevents the backend server from being forced to hang
around while the last few bytes are transmitted to a slow client.
Fix the case where no error checking was performed on the final
brigade in the loop.
PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93811 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/proxy/mod_proxy.c
modules/proxy/mod_proxy.h
modules/proxy/proxy_ftp.c
modules/proxy/proxy_http.c