Hi,

We are using ClientResource in a Restlet to make calls to another 
server-side Restlet (we're implementing proxy-functionality), and we are 
having lots of issues with hanging calls. We have traced it down to the 
"latch/unblock" code in BaseClientHelper, which is not 100% working. 
Sometimes it just doesn't work, and we see the client code hanging on 
BaseClientHelper.handle(Request,Response) "latch.await()".

If the Restlet we are calling results in a "Socket error"/"Broken pipe" 
call, then we can easily see that there simply is no unblock happening 
in the BaseClientHelper code (because the catch code doesn't do 
unblock), and so the request hangs. The only way to unhang is to restart 
the server.

It's really hard to try to follow what is going on and understand what 
is missing with the latch/unblock, so if anyone has pointers, or have 
had this issue, please let us know. It's keeping us from going into 
production right now :-(

thanks, Rickard

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

Reply via email to