Hello Kevin, I try to reproduce your problem, could you give us more details about the source of data : is is a static file, or generated content? What kind of server connector are you using?
Best regards, Thierry Boileau I have a URLConnection that connects to a Restlet URI which sends back 8MB > of > data to the sender. However, often times I get the following message and I > lose a lot of data: > > org.restlet.engine.http.connector.Connection writeMessage > WARNING: Exception while writing the message body. > java.net.SocketException: Broken pipe > > Looking through Restlet source code, ServerConnection.java catches this > exception. Problem is, I need the receiving end to realize that this > happened and retry the GET but that doesn't seem to be possible. In the > source, it says it does this: > > response.setStatus(Status.SERVER_ERROR_INTERNAL, > "An exception occured while writing the response"); > > But I checked the response code and it was always 200, regardless of the > socketexception. > > Can someone please help? > > Thanks > Kevin > > -- > View this message in context: > http://restlet-discuss.1400322.n2.nabble.com/java-net-SocketException-Broken-pipe-tp6306663p6306663.html > Sent from the Restlet Discuss mailing list archive at Nabble.com. > > ------------------------------------------------------ > > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2724389 > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2724546