]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix persistent connections to origin server class peers if the port
authorhno <>
Fri, 19 Sep 2003 19:25:37 +0000 (19:25 +0000)
committerhno <>
Fri, 19 Sep 2003 19:25:37 +0000 (19:25 +0000)
of the peer differs from the request.

src/forward.cc

index b62a9d31be4e0cb47ddf4041d8d9bbd5aee4c93b..7414826be7629451e9c6a630ccce32cffae2a478 100644 (file)
@@ -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;