• 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
Re: Difference between -1001 and -1004
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Difference between -1001 and -1004


  • Subject: Re: Difference between -1001 and -1004
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 11 Dec 2013 13:56:11 -0800


On Dec 11, 2013, at 12:50 PM, Rick Mann <email@hidden> wrote:

Can anyone expound on the differences between the -1001 "The request timed out" and the -1004 "Could not connect to the server" errors?

I _think_ the -1001 error occurs if the connection opens but, at some point before the response is complete, no data is received from the server for an interval longer than the connection’s timeout.

For example, the server sends back half the response, but then nothing else happens for a minute (assuming you use the default timeout.)

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: CFHTTPMessageAddAuthentication problem
  • Next by Date: Implementing HTTP proxy support, if not using NSURLConnection
  • Previous by thread: Re: CFHTTPMessageAddAuthentication problem
  • Next by thread: Implementing HTTP proxy support, if not using NSURLConnection
  • Index(es):
    • Date
    • Thread