Re: [squid-users] tproxy2 patch for squid3

From: Jan Engelhardt <jengelh@dont-contact.us>
Date: Sat, 29 Jul 2006 17:05:26 +0200 (MEST)

>> If multiple client-proxy streams are multiplexed into one proxy-webserver
>> stream, we anyhow have a hard time to bind to all address at once.
>
>The problem I meantioned is more of
>
>1. Client A makes a request, connection to web server is created and
>tproxied as A. It receives response from server. The proxy->webserver
>connection is then released into the idle persistent connections pool.
>
>2. Client B makes a request to the same server. Squid finds the idle
>persistent connection and reuses it, avoiding to have set up a new
>connection. This will therefore use the address of A.

Yes that is what I meant as multiplexed == multiple clients use the same
webserver connection.

>And to make the situation slightly more complex further illustrating the
>problem:
>
>3. [...]
>4. [...]

>The relevant parts of the code to fix this is in FwdState::pconnPush and
>FwdState::connectStart fwdPconnPool->pop().

What would I have to add?

Jan Engelhardt

-- 
Received on Sat Jul 29 2006 - 09:05:45 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Aug 01 2006 - 12:00:02 MDT