• 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
NSURLConnection weirdiness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSURLConnection weirdiness


  • Subject: NSURLConnection weirdiness
  • From: Nava Carmon <email@hidden>
  • Date: Fri, 28 May 2010 12:58:38 +0300

Hi,

I'm experiencing a weird problem and i wonder if anybody else has noticed this: I'm using NSURLConnection as it appears in apple's examples to get xml files from a certain server (standard http get) - pretty straight forward. And most of time it works, but sometimes it's just stuck after initialing and don't get into connection's delegate methods. I'm working with WiFi & 3G and the same server all the time. When it comes to didFailWithError i see that mostly it was a timeout error. When I enter same link in Safari it takes a second to bring data. And after another trial I can access the link. What might be the reason for such a weird behavior? How can I improve it? What is the role of cache policy with NSURLConnection?

Thanks,

Nava


Nava Carmon
email@hidden

"Think good and it will be good!"

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSURLConnection weirdiness
      • From: Jerry Krinock <email@hidden>
    • Re: NSURLConnection weirdiness
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: six things I wasn't able to do with Cocoa
  • Next by Date: Notification of file system modification arrives too early?
  • Previous by thread: Re: Where is zlib located?
  • Next by thread: Re: NSURLConnection weirdiness
  • Index(es):
    • Date
    • Thread