From: Mikio Kishi Date: Fri, 18 Mar 2011 06:42:32 +0000 (+1300) Subject: Bug 3007: CONNECT to cache_peer returns 000 status code X-Git-Tag: take06~27^2~80 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1f4d1d483a855d85f49004667f95395e4e4fa32a;p=thirdparty%2Fsquid.git Bug 3007: CONNECT to cache_peer returns 000 status code --- diff --git a/src/tunnel.cc b/src/tunnel.cc index 269229b5d4..bc27dadf9f 100644 --- a/src/tunnel.cc +++ b/src/tunnel.cc @@ -526,6 +526,9 @@ tunnelConnectedWriteDone(int fd, char *buf, size_t size, comm_err_t flag, int xe static void tunnelProxyConnectedWriteDone(int fd, char *buf, size_t size, comm_err_t flag, int xerrno, void *data) { + TunnelStateData *tunnelState = static_cast(data); + debugs(26, 3, HERE << "FD " << fd << " tunnelState=" << tunnelState); + *tunnelState->status_ptr = HTTP_OK; tunnelConnectedWriteDone(fd, buf, size, flag, xerrno, data); }