hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Exception while consuming Content
Date Tue, 14 Jun 2011 12:57:13 GMT
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-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message