]> git.ipfire.org Git - thirdparty/squid.git/commit - src/http.cc
Fix delay pool DeferredRead in HttpStateData
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 13 Nov 2014 12:09:11 +0000 (04:09 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 13 Nov 2014 12:09:11 +0000 (04:09 -0800)
commitd4a083cc245dd48cdbbff612046969abb7104b0d
treedd07f60e6de423abbd1c450622e5c8bcb4787c71
parentf542211b9e4969b5b940a19017a3219ff6c24bf8
Fix delay pool DeferredRead in HttpStateData

The deferred read action may have been delayed so long the read(2) is no
longer possible. It needs to restart from watching the socket instead of
just from performing read(2). This re-adds part of the latency when
delaying traffic but we retain the bytesWanted() speed up so not a big
loss.
src/http.cc