Hi, I think EntityUtils.consume(entity); has did the trick. Now the client has been running for past 2 days and the connection timeout is not happening.
Thanks, Litty Preeth On Wed, Oct 26, 2011 at 1:07 AM, Vasile Alin <[email protected]>wrote: > >> Someone suggested that I these issue comes if the response is not fully > >> emptied. Also if I enable the wire and header debug for httpclient, I am > >> not > >> getting this issue. So may be the root cause is because the response is > not > >> fully drained. > >> > > Could be possible. When the issue appears, did you checked how many > sockets do you have on you machine (using netstat) for that particular > destination and their state? > > Alin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
