]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix "Not enough space to hold server hello message" error message
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 20 May 2015 11:00:11 +0000 (14:00 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 20 May 2015 11:00:11 +0000 (14:00 +0300)
commit8cc7eb676d203ec6045863432feedc3396a48b02
treec09d3bc8066c2d6befd88a286cde8c5b373e6cd7
parentf6894d3734be686c9d9aebfa4e95eaee0911a431
Fix "Not enough space to hold server hello message" error message

This patch merges the Ssl::ClientBio and Ssl::ServerBio read buffering code
to the Ssl::Bio::readAndBuffer method and uses the MemBuf::potentialSpaceSize
instead of MemBuf::spaceSize to check space size for SSL hello messages buffer,
to take in account available space after a possible buffer grow.

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