I've solved the problem :
"just" need to setAllowsConcurrentRequestHandling(true) in the WOApplication...
Jérémy
__________________
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 protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]
