• 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: NSMutableURLRequest: Keeping the connection open
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMutableURLRequest: Keeping the connection open


  • Subject: Re: NSMutableURLRequest: Keeping the connection open
  • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Date: Wed, 30 Mar 2011 17:47:11 +0100

On 30 Mar 2011, at 17:15, Thomas Engelmeier wrote:

> I'm trying to prevent NSMutableURLRequest / NSURLConnection from closing an connection after roughly 2 secs.

I presume this in on iOS.  On Mac OS X, the HTTP persistent connection cache timeout is much longer (about 30 seconds).

I've investigated this is in some depth and, AFAICT, there's no way to force NSURLConnection to keep HTTP persistent connections around for longer.

S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware


 _______________________________________________
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

  • Follow-Ups:
    • Re: NSMutableURLRequest: Keeping the connection open
      • From: Thomas Engelmeier <email@hidden>
References: 
 >NSMutableURLRequest: Keeping the connection open (From: Thomas Engelmeier <email@hidden>)

  • Prev by Date: NSMutableURLRequest: Keeping the connection open
  • Next by Date: Re: NSMutableURLRequest: Keeping the connection open
  • Previous by thread: NSMutableURLRequest: Keeping the connection open
  • Next by thread: Re: NSMutableURLRequest: Keeping the connection open
  • Index(es):
    • Date
    • Thread