]> 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)
commit01b5958cf7a7e33b2c584ebf8686c78dc700a1a7
tree07a693a65500f2ddfa83ccbfc513036f358dc519
parentde8942eb9f1c05aabf2a7061659a20edd7e9dba9
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