WOHTTPConnection and broken pipe
WOHTTPConnection and broken pipe
- Subject: WOHTTPConnection and broken pipe
- From: email@hidden
- Date: Fri, 18 Aug 2006 15:30:01 +0200
Hi All,
Does anyone succeded in using WOHTTPConnection
in WO5.3 ?
Indeed, I'm migrating an app developed
with WO5.1 that contains the following code :
WOHTTPConnection myConnection != new
WOHTTPConnection("localhost", Application.application().port());
myConnection.sendRequest(new WORequest("GET",
myUrl, "HTTP/1.0", null, ,null, null);
WOResponse myResponse = myConnection.readResponse();
if (myResponse != null)
{
return myResponse.contentString();
}
With WO5.1, everything did work very
well, but with WO5.3, I get no response, my app is stalled (I can no more
access it) and the logs indicate that there is a broken pipe. So it seems
that the WebObjects server try to send the response but the connection
seems to be broken.
Just one thing : my app est sending
a request to itself in ordre to get the html page back and save it to the
disk.
Any idea about the change taht make
it happend ?
Jérémy _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden