]> git.ipfire.org Git - thirdparty/squid.git/commit
Fixed and polished autoconsumption mode.
authorAlex Rousskov <rousskov@measurement-factory.com>
Thu, 17 Apr 2008 05:44:45 +0000 (23:44 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Thu, 17 Apr 2008 05:44:45 +0000 (23:44 -0600)
commit5121d48e7d8b49f92d44ca7076fc420f1c2c5d1e
tree777de5f2f1277573d72faad53a7da4ce70ffb34a
parenta083e75a002cf3acab30389343572f1d9c87c78e
Fixed and polished autoconsumption mode.

Fixed: We need to start autoconsuming when new data is appended and we
have not started (but enabled autoconsumpiton) before.

Polished: When notifying a consumer, checking whether mustAutoConsume is
set is pointless as it has no effect on consumer (if any). This check was
probably a leftover from pre-BodySink days.
src/BodyPipe.cc
src/BodyPipe.h