From: hno <> Date: Wed, 9 Jul 2003 17:02:28 +0000 (+0000) Subject: Additional enhancments to pconn session management for origin servers X-Git-Tag: SQUID_3_0_PRE1~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1fdcd380818cb31dc45d3a92d60f7e3f36e31a9d;p=thirdparty%2Fsquid.git Additional enhancments to pconn session management for origin servers split the connection pool for the server on requested port as well as domain. --- diff --git a/src/forward.cc b/src/forward.cc index 37fb3c4ff3..c83729302b 100644 --- a/src/forward.cc +++ b/src/forward.cc @@ -1,6 +1,6 @@ /* - * $Id: forward.cc,v 1.104 2003/07/06 21:50:56 hno Exp $ + * $Id: forward.cc,v 1.105 2003/07/09 11:02:28 hno Exp $ * * DEBUG: section 17 Request Forwarding * AUTHOR: Duane Wessels @@ -564,8 +564,10 @@ fwdConnectStart(void *data) ctimeout = fs->_peer->connect_timeout > 0 ? fs->_peer->connect_timeout : Config.Timeout.peer_connect; - if (fs->_peer->options.originserver) + if (fs->_peer->options.originserver) { domain = fwdState->request->host; + port = fwdState->request->port; + } } else { host = fwdState->request->host; port = fwdState->request->port;