Hi All,

There is a bug in HTTP module when connections are proxied and 
the connection is persistent. 

The host:port key of the target server is put into the connection pool 
rather than the host:port key of the proxy.

The proxy connection never gets reused as the conn_pool_get call is passed
the host and port of the proxy and that is never in the pool.

Here is a fix for this issue:

967c967,972
<         conn_pool_put(trans->conn, trans->host, trans->port);
---
>     {
>         if (trans->proxying)
>             conn_pool_put(trans->conn, proxy_hostname, proxy_port) ;
>         else
>             conn_pool_put(trans->conn, trans->host, trans->port);
>     }

comments!

Michael.

ANAM Wireless Internet Solutions
http://www.anam.com mailto:[EMAIL PROTECTED]
+353 1 284 7555
Castle Yard, Saint Patrick's Road, Dalkey, County Dublin, Ireland

Reply via email to