]> git.ipfire.org Git - thirdparty/squid.git/commit
Fixes a squid crash when a foreign protocol client connected to an https_port
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 26 Sep 2014 09:54:50 +0000 (12:54 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 26 Sep 2014 09:54:50 +0000 (12:54 +0300)
commit869b432824fc0209896120f5ee7ce7cc5cd1cbcd
treef7cf433bed2faaeb39fc98c6e864ae1742629352
parent6e3258821a0783169a5a8ff3aec784d01bcbae1d
Fixes a squid crash when a foreign protocol client connected to an https_port

The Ssl::Bio::read will fail to recognize SSL protocol and will return "-1"
as readed SSL bytes. The Ssl::ClientBio::read must return error (-1)
in this case.

This is a Measurement Factory project
src/ssl/bio.cc