• 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: URLAccess Stalls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URLAccess Stalls


  • Subject: Re: URLAccess Stalls
  • From: Daniel Jalkut <email@hidden>
  • Date: Thu, 15 Dec 2005 01:03:16 -0500


On Dec 15, 2005, at 12:49 AM, Alexey Proskuryakov wrote:

  Ability to use CFStrings for server names is just so exciting... Er, I mean useless. 


It may be overkill for URLs, but it's darned convenient not to have to down-grade a CFString to a Pascal string when you've finally got most of your source base using "real strings." 

  I'm very interested in your opinion about libcurl. I haven't used it as a library yet, but from a user's standpoint, curl is significantly more polished and reliable than CFNetwork, and isolates one from Apple's "future direction" du jour.


If you use libcurl instead of Apple's code you lose the runloop integration, and perhaps more importantly you lose the confidence that your app will behave "at least as well as Safari."  It sounds like you've had some bad luck with Safari, but I have found it pretty reliable. 

I use libcurl for some projects but when possible I use CFNetwork because of the consistent CoreFoundation interface, and because I know that a bug in CFNetwork that affects my application is also probably a bug in Safari, and will therefore be taken seriously.

One big advantage to using libcurl is that if you find a bug, you can fix it yourself and link in a private copy of the library pretty easily.  Since CFNetwork sources have recently been released by Apple,  this is true there as well, but I don't think it's easy to build it as a static library "out of the box," and I'm not sure what the ramifications of including a private copy of CFNetwork.framework in your application's bundle would be.

Daniel

 _______________________________________________
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: 
 >Re: URLAccess Stalls (From: Alexey Proskuryakov <email@hidden>)
 >Re: URLAccess Stalls (From: Marc Krochmal <email@hidden>)
 >Re: URLAccess Stalls (From: email@hidden)
 >Re: URLAccess Stalls (From: Marc Krochmal <email@hidden>)
 >Re: URLAccess Stalls (From: "Alexey Proskuryakov" <email@hidden>)

  • Prev by Date: Re: URLAccess Stalls
  • Next by Date: Re: URLAccess Stalls
  • Previous by thread: Re: URLAccess Stalls
  • Next by thread: Re: URLAccess Stalls
  • Index(es):
    • Date
    • Thread