We're using the Restlet 2.0.1 version for our application, I've question regarding the when Representation.release() method will happens at server side?
We'are working on two tier Application like Web App and Service(web App makes the requests to Service for content), In service we are using the Restlet 2.0.1, Inside the Service we use the HttpClient 4.0.1 to make the http requests to other systems, when we get the HttpRespone from the other system we plug the same inputstream into the InputRepresentation. So what is happening is some times web app won't consume the complete content hence Restlet is not closing(i'm assuming) the inputstream(Representation.release()) so HttpClient is not releasing the connection(because stream not closed()) and we are having the connection reset problems in our service. 1) Will Restlet releases the underlying resources(stream. channel..etc) irrespective of client consumed the complete content or not? 2) If Client(web app) is taking the long time to consume the content, will Restlet wait until client consumes() complete content to close the resources? 3) is there any mechanism to handle these kind of the problems in Restlet? Any idea? Thanks, Reddy -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/Releasing-the-underlying-resources-in-Restlet-when-client-did-not-consume-complete-content-tp5705437p5705437.html Sent from the Restlet Discuss mailing list archive at Nabble.com. ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2678750

