On 2010-08-20 13.31, Freya Impens wrote:
> We had the same issue when upgrading to restlet 2.0.0.
> Some links about the (I think) same issue:
>
> http://restlet.tigris.org/issues/show_bug.cgi?id=1053  
> andhttp://comments.gmane.org/gmane.comp.java.restlet/12273
>
> It all boils down to calling the exhaust() method on the response
> representation (in a finally-block), which solves the problem. For some
> reason calling the release() method is not enough, and this 'exhaust'
> solves the problem. We asked a similar question on the list some days ago.

We tried adding exhaust calls, but still see hangs. Btw, it should be 
enough to either fully read using BioUtils.copy *or* exhaust(), right? 
Also, only on response, not request, correct?

Are there any docs on how to switch to "httpclient"? I checked the 
current docs, and JavaDocs, but couldn't find any instructions on how to 
actually use it.

thanks, Rickard

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2650329

Reply via email to