[AUDIT PATCH] comm cleanup - pconn changes

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 03 Oct 2010 05:55:41 +1300

   Implements the pconn and IdleConnList as storage lists of
Comm::Connection.

   With Comm::Connection the key definition has to change. The old
keying based solely on domain would produce a Connection object whose FD
did not exactly match the remote IP:port selected by the new routing logics.

   I've kept the concept that the pconn key is the details to describe
the remote end of the link used to fetch any given domain. As such its
become much simpler now. Just the remote IP:port from the TCP details
and requested domain (post re-writing) or peer hostname for peer pconn.

  The change also removes the client address from relevance (enhancement
bug fix). Instead we scan the list of pconn going to our desired
remote-end for the local-end details (tcp_outgoing_addr or tproxy IPs)
to pick an exact pconn match (bug fix).

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.8
   Beta testers wanted for 3.2.0.2

Received on Sat Oct 02 2010 - 16:55:48 MDT

This archive was generated by hypermail 2.2.0 : Tue Oct 05 2010 - 12:00:04 MDT