Fix to allow squid build when SSL is enabled
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)