]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #718: accel with nonstandard cache_peer port uses standard port
authorhno <>
Thu, 14 Aug 2003 03:49:45 +0000 (03:49 +0000)
committerhno <>
Thu, 14 Aug 2003 03:49:45 +0000 (03:49 +0000)
The recent fix for vhost acceleration and persistent connections
confusing certain servers did a little bit too much, accidently using
the port of the URL rather than the cache_peer in case of origin class
peers.

src/forward.cc

index 288de2e9fe7c46bec325fabf706020750b064bad..260b47fabbf7b71ccdbf3a38bbfccca6b603c9f7 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: forward.cc,v 1.109 2003/08/10 11:00:43 robertc Exp $
+ * $Id: forward.cc,v 1.110 2003/08/13 21:49:45 hno Exp $
  *
  * DEBUG: section 17    Request Forwarding
  * AUTHOR: Duane Wessels
@@ -567,7 +567,6 @@ fwdConnectStart(void *data)
 
         if (fs->_peer->options.originserver) {
             domain = fwdState->request->host;
-            port = fwdState->request->port;
         }
     } else {
         host = fwdState->request->host;