>> 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
-- 

Reply via email to