• 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
WOHTTPConnection and broken pipe
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Many questions about SCM and svn in XCode (From: Niels Meersschaert <email@hidden>)

  • Prev by Date: Newbie : need help to customize an D2W freeze component
  • Next by Date: Re: Schema Synchronization "magic"
  • Previous by thread: Re: Many questions about SCM and svn in XCode
  • Next by thread: Newbie : help to customize an D2W freeze component
  • Index(es):
    • Date
    • Thread