]> git.ipfire.org Git - thirdparty/squid.git/commit - src/adaptation/icap/ModXact.cc
Partial bug #2964 fix: writer stuck in a "waiting for preview answer" state.
authorAlex Rousskov <rousskov@measurement-factory.com>
Mon, 13 Sep 2010 00:34:44 +0000 (18:34 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Mon, 13 Sep 2010 00:34:44 +0000 (18:34 -0600)
commit23e05fb16e0848dbb220833135781be7d50b5e6d
tree17a28dee3db3fd88423aed0dc8c40c5ea6f03b72
parent5be49f98ce2339a62917fd99f9c8b5f9d4ce4b6f
Partial bug #2964 fix: writer stuck in a "waiting for preview answer" state.

At the end of preview, do not go into the writingPaused state if we already
received the final response from the ICAP server. Instead, stop writing so
that we do not get stuck waiting for the response that has already come.

May also handle header-only (zero-size) ieof Preview better.
src/adaptation/icap/ModXact.cc
src/adaptation/icap/ModXact.h