• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[SOLVED] WOHTTPConnection and broken pipe
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED] WOHTTPConnection and broken pipe


  • Subject: [SOLVED] WOHTTPConnection and broken pipe
  • From: email@hidden
  • Date: Fri, 18 Aug 2006 16:23:24 +0200


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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Re: EOAndQualifier on child entity property
  • Next by Date: Re: Validation Exception
  • Previous by thread: Newbie : need help to customize an D2W freeze component
  • Next by thread: RE Little starter help with instance and action of a WOConponent
  • Index(es):
    • Date
    • Thread