From: hno <> Date: Fri, 19 Sep 2003 19:25:37 +0000 (+0000) Subject: Fix persistent connections to origin server class peers if the port X-Git-Tag: SQUID_3_0_PRE4~1205 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aba83281eb668831d1247b4d78c0490a44a710c5;p=thirdparty%2Fsquid.git Fix persistent connections to origin server class peers if the port of the peer differs from the request. --- diff --git a/src/forward.cc b/src/forward.cc index b62a9d31be..7414826be7 100644 --- a/src/forward.cc +++ b/src/forward.cc @@ -1,6 +1,6 @@ /* - * $Id: forward.cc,v 1.112 2003/08/18 12:24:45 hno Exp $ + * $Id: forward.cc,v 1.113 2003/09/19 13:25:37 hno Exp $ * * DEBUG: section 17 Request Forwarding * AUTHOR: Duane Wessels @@ -578,6 +578,7 @@ fwdConnectStart(void *data) if (fs->_peer->options.originserver) { domain = fwdState->request->host; + port = fwdState->request->port; } } else { host = fwdState->request->host;