]> git.ipfire.org Git - thirdparty/squid.git/commit
Avoid !closing assertions when helpers call comm_read [during reconfigure].
authorAlex Rousskov <rousskov@measurement-factory.com>
Sun, 19 May 2013 02:32:10 +0000 (20:32 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 19 May 2013 02:32:10 +0000 (20:32 -0600)
commite48d53b23d36b988771806528172bc0e6395a163
tree04fe2983d6ea648e97f87be2653b3da3fa71e63e
parent0487053987b1e5508bb544d6173e8fabb1d09f4c
Avoid !closing assertions when helpers call comm_read [during reconfigure].

While helper reading code does check for COMM_ERR_CLOSING, it is not sufficient
because helperReturnBuffer() called by the reading code may notice the helper
shutdown flag (set earlier by reconfigure) and start closing the connection
underneath the reading code feet.
src/helper.cc