]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/tunnel.cc
Merged from trunk
[thirdparty/squid.git] / src / tunnel.cc
index 970388ced4932d4407670903459b62aaf3722f24..2f8c05a5cdd616aebf01f9eeb4995bbcbe2720ce 100644 (file)
@@ -610,6 +610,8 @@ tunnelStart(ClientHttpRequest * http, int64_t * size_ptr, int *status_ptr)
     statCounter.server.all.requests++;
     statCounter.server.other.requests++;
 
+    request->hier.peer_local_port = comm_local_port(sock); // for %<lp logging
+
     tunnelState = new TunnelStateData;
 #if DELAY_POOLS
     tunnelState->server.setDelayId(DelayId::DelayClient(http));