• 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: Implementing proxy support
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implementing proxy support


  • Subject: Re: Implementing proxy support
  • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Date: Tue, 15 Jul 2014 14:58:45 +0100

On 15 Jul 2014, at 07:10, Jens Alfke <email@hidden> wrote:

> You can actually do the dirty work using NSURLConnection/Session.

Yeah, I strongly recommend that you do that.  Implement your own proxy support is seriously painful.  You can remove some of the pain by using CF{HTTP,Socket}Stream for the underlying networking, but even the remaining work is still un-fun.

> You just have to avoid infinite regress...

The CustomHTTPProtocol sample code shows one technique for that.

<https://developer.apple.com/library/ios/#samplecode/CustomHTTPProtocol/>

Share and Enjoy
--
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


References: 
 >Implementing proxy support (From: Daryle Walker <email@hidden>)
 >Re: Implementing proxy support (From: Jens Alfke <email@hidden>)
 >Re: Implementing proxy support (From: Daryle Walker <email@hidden>)
 >Re: Implementing proxy support (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Background download tasks intermittently stalling for 4 minutes
  • Next by Date: Re: TCP sockets with Bonjour-discovered address
  • Previous by thread: Re: Implementing proxy support
  • Next by thread: Re: Implementing proxy support
  • Index(es):
    • Date
    • Thread