]> git.ipfire.org Git - thirdparty/squid.git/commit - src/client_side.cc
Retry requests that failed due to a persistent connection race
authorAlex Rousskov <rousskov@measurement-factory.com>
Mon, 20 Feb 2012 19:32:58 +0000 (12:32 -0700)
committerAlex Rousskov <rousskov@measurement-factory.com>
Mon, 20 Feb 2012 19:32:58 +0000 (12:32 -0700)
commit85563fd92b5c72b42ba0b1e953f7bd238adce133
treea4b78010028cf88dccdd805a420da7e514647018
parent955881706f096d8c4f149aab85f761e7cd79f95c
Retry requests that failed due to a persistent connection race
instead of replying with ERR_ZERO_SIZE_OBJECT "Bad Gateway".

Trunk r12050 code contains a portion of these changes. The rest is code
to re-pin a bump-server-first connection if a bumped pinned pconn fails
due to a race. We use a new canRePin flag to mark connections that can
be repinned and assume that pinned connections unrelated to SslBump
cannot be repinned.
src/client_side.cc
src/forward.cc
src/forward.h
src/structs.h