]> git.ipfire.org Git - thirdparty/squid.git/commit
Mark client streams that sent everything as STREAM_COMPLETE.
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 25 Jun 2013 15:39:10 +0000 (09:39 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Tue, 25 Jun 2013 15:39:10 +0000 (09:39 -0600)
commitca6d5de2b6e3cfed79679f959d2cb31ac069063f
treed731e29311ca8e39de9f0bc4cfda9d56f00dea09
parentc877c0bca97f07d63a092fc9f0e31ee63a05064a
Mark client streams that sent everything as STREAM_COMPLETE.

The old code used STREAM_UNPLANNED_COMPLETE if the completed stream was
associated with a non-persistent connection, which did not make sense to me
and, IIRC, led to store entry aborts even though the entries were not damaged
in any way.

This change may expose other subtle bugs, but none are known at this time.

See also:
  http://www.squid-cache.org/mail-archive/squid-dev/200702/0017.html
  http://www.squid-cache.org/mail-archive/squid-dev/201102/0210.html
src/client_side_reply.cc