Hi Kirk,

Are you using callbacks such as Request#onResponse? What kind of 
behaviour are you noticing?
Instead of stopping/starting the client (which must be considered as a 
workaround for a bug), I wonder if you are consuming the entity returned 
by the server.
could you try something like response.getEntity().release()?

Best regards,
Thierry Boileau

> Hi,
>
> Took me a while to understand why my test cases were failing but i tracked it 
> down to the fact that the client by default uses async processing under the 
> hood now. Is there any way to turn on or off this feature?
>
> My test cases at the moment create the client once and then reuse the object 
> for subsequent http calls.
>
> Right now, i've gotten around this by calling client.stop() and 
> client.start() before each use. Is this the correct way of using it?
>
> Regards,
> --KD
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2443759
>
>

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

Reply via email to