I was able to suppress persistent connections by overriding createComponent and 
setting the http client's context parameters. I am not sure that is the best 
way of doing that but it is working now.

It is still unsatisfying to suppress persistent connections as using persistent 
connections is generally a good thing.  However, it seems that the client does 
not seem to handle a broken connection gracefully; it does not even close the 
connection if it detects an error during writing to the socket.  Only when it 
tries to read from a closed socket, the connection then closes. I will continue 
to work on the problem to determine a way of using persistent connections with 
the Redirector.

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

Reply via email to