-
Committer:
Christos Tsantilas
-
Date:
2014-05-21 06:29:38 UTC
-
Revision ID:
chtsanti@users.sourceforge.net-20140521062938-2d24zaj2tgde0jqs
"ssl_bump none" mode crashes squid
After r13324 patch the SBuf argument of the ConnStateData::handleReadData member
is used only to check if ConnStateData::In::buf is correctly filled with read
data. ConnStateData::handleReadData considers that the data already written
in ConnStateData::in.buf and checks if the passed Sbuf argument is the
ConnStateData::in.buf:
bool ConnStateData::handleReadData(SBuf *buf)
{
assert(buf == &in.buf);
.....
The httpsSslBumpAccessCheckDone function needs to write the CONNECT request
generated internally to force tunnel mode, in ConnStateData::In::buf and then
call ConnStateData::handleReadData method.