]> git.ipfire.org Git - thirdparty/squid.git/commit - src/http.h
Implement lazy buffer reallocation for HTTP server connections
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 17 Mar 2015 02:53:05 +0000 (19:53 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 17 Mar 2015 02:53:05 +0000 (19:53 -0700)
commit1ad68518bc9cf11d68e486759be9d88adf7b16f8
tree3961550725b85fc0602327dccabdc785111adb6f
parentf87d6d2f139a0559c49d7c2e57bef87e54957d89
Implement lazy buffer reallocation for HTTP server connections

Bug 4206 was caused by early buffers allocated for read I/O being
dropped while waiting for the read to actually take place.

In order to prevent future bugs in the server connection read logics we
implement the same lazy/late grow behaviour as required to fix bug 4206.
src/http.cc
src/http.h