On Mon, Apr 20, 2009 at 03:10:22PM -0700, Pankaj Gupta wrote:
> Hi,
>
> We have client code taken from the example file  
> ClientMultiThreadedExecution.java and we have the client talking to  
> Apache backend. We have noticed that the client makes a brand new  
> connection on every request. What we want is for the connection pool to 
> keep persistent connections to the backend and to reuse those.
>

Post a wire/context log of the session.

http://hc.apache.org/httpcomponents-client/logging.html

Oleg


> One difference between our code and the example is that we do not use  
> GetThread but client.execute. We have spent a couple of hours looking on 
> google and on hc.apache.org but can't figure it out. Any ideas?
>
> Thanks,
> Pankaj
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to