From: Christos Tsantilas Date: Fri, 6 Jun 2014 14:52:54 +0000 (+0300) Subject: Fix error in rev.13447 "ssl_bump none" mode fixes. X-Git-Tag: SQUID_3_5_0_1~192 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a55cc69e86f58679bed9b99b2c26e644dadd4e51;p=thirdparty%2Fsquid.git Fix error in rev.13447 "ssl_bump none" mode fixes. Fix to allow squid build when SSL is enabled --- diff --git a/src/client_side.cc b/src/client_side.cc index fb23f2ecd3..8d92fdd0a6 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -3627,7 +3627,8 @@ httpsSslBumpAccessCheckDone(allow_t answer, void *data) static char ip[MAX_IPSTRLEN]; connState->clientConnection->local.toUrl(ip, sizeof(ip)); // Pre-pend this fake request to the TLS bits already in the buffer - SBuf retStr("CONNECT ").append(ip).append(" HTTP/1.1\r\nHost: ").append(ip).append("\r\n\r\n"); + SBuf retStr; + retStr.append("CONNECT ").append(ip).append(" HTTP/1.1\r\nHost: ").append(ip).append("\r\n\r\n"); connState->in.buf = retStr.append(connState->in.buf); bool ret = connState->handleReadData(); if (ret)