From: hno <> Date: Thu, 14 Aug 2003 03:49:45 +0000 (+0000) Subject: Bug #718: accel with nonstandard cache_peer port uses standard port X-Git-Tag: SQUID_3_0_PRE3~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdd71475499f341915cd27807321df48a51f069b;p=thirdparty%2Fsquid.git Bug #718: accel with nonstandard cache_peer port uses standard port 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. --- diff --git a/src/forward.cc b/src/forward.cc index 288de2e9fe..260b47fabb 100644 --- a/src/forward.cc +++ b/src/forward.cc @@ -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;