]> git.ipfire.org Git - thirdparty/squid.git/commit - src/Server.h
Bug #1921: ftp.cc(3309) ICAP cannot keep up with FTP; lost 1448/1448 bytes.
authorhno <>
Thu, 19 Jul 2007 18:07:41 +0000 (18:07 +0000)
committerhno <>
Thu, 19 Jul 2007 18:07:41 +0000 (18:07 +0000)
commit7dc79973203a64975faa3c9746f50e97420abdd2
tree71ad30fbdba403c30c416add4ea5db7124db6ff4
parente9505fad20b3dc72c823033d59504e6778be9f1a
Bug #1921: ftp.cc(3309) ICAP cannot keep up with FTP; lost 1448/1448 bytes.

This patch adds a little buffering before the BodyPipe, allowing more
data to be temporarily stuffed than what fits in the pipe. Needed for
FTP directory listings and other sources with no byte-exact flow control.

The patch also moves most ICAP dependencies from the protocol implementations
to the shared ServerStateData parent, allowing them all to share logics.
src/Server.cc
src/Server.h
src/ftp.cc
src/http.cc
src/http.h