]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix error in rev.13417 "ssl_bump none" mode crashes squid
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 5 Jun 2014 15:57:23 +0000 (08:57 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 5 Jun 2014 15:57:23 +0000 (08:57 -0700)
commitbcf9fd86ee413ca0e5850cb71b25deb548cfb162
tree881488ca0eae030874586a42c8d0a79330d46e2d
parent183b70d5f95105d39943560186f06c488a3da9c5
Fix error in rev.13417 "ssl_bump none" mode crashes squid

The fake CONNECT request generated to relay non-bumped traffic needs to
be pre-pended to any existing data in the ConnStateData::In buffer.
Otherwise our new bytes will corrupt any traffic bytes already in there
and our intended CONNECT request will never be recognised as we re-parse
the buffer.
src/client_side.cc