I am sorry I meant to say "consume". I cant use a snapshot because we have to roll this piece of code into Production later this week. What do you recommend in this case?
On Tue, Jun 14, 2011 at 8:57 AM, Oleg Kalnichevski <ol...@apache.org> wrote: > On Tue, 2011-06-14 at 08:51 -0400, Srinivas wrote: > > Thanks for the link to the defect. > > > > I changed my code to use > > EntityUtils.toString(response.getEntity()); > > > > and removed the call to EntityUtils.close(response.getEntity()); > > > > When I enable debug logs; I can see that the toString method also returns > > the connection back to the connection manager. So I was left wondering if > > there is anything I am missing by not calling close? > > > > I am not sure I understand the question. There is no #close method in > EntityUtils. > > Please upgrade to the latest SVN snapshot until 4.1.2 is officially > released. Upgrading should resolve the problem. > > Oleg > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org > For additional commands, e-mail: httpclient-users-h...@hc.apache.org > >