I am using the HttpUrlConnection class to communicate between two sites that i
have built. The request is sent from site A to B. The response sent back causes
this error:
com.evermind.server.http.HttpIOException: Software caused connection abort:
socket write error
I print the response just before the erroreous line of code and I see that only
a subset of the bytes sent actually reach site A. The code that sends the
request is as simple as this:
ServletOutputStream output = response.getOutputStream();
BufferedOutputStream out1 = new BufferedOutputStream(output);
out1.write(responseDescriptor);
out1.flush();
The code that receives the request is similar...
Does anybody know the cause of this?