Re: NSURLConnection weirdiness

2010-05-29 Thread Nava Carmon
Thanks for answering. Indeed I found a pattern and probably the explanation, now I need to found the appropriate solution: What happen is that My iphone application presents the data that comes as an xml files, which I fetch from a various urls on the same server. There are problematic urls,

Re: NSURLConnection weirdiness

2010-05-29 Thread Jens Alfke
On May 29, 2010, at 11:53 AM, Nava Carmon wrote: When I initialize the NSURLConnection I define a timeout in my NSURLMutableRequest in order not to stuck the GUI and let the user to work with application. On timeout I get didFailWithError in NSURLConnectionDelegate and show a message that

Re: NSURLConnection weirdiness

2010-05-29 Thread Nava Carmon
On May 29, 2010, at 10:12 PM, Jens Alfke wrote: On May 29, 2010, at 11:53 AM, Nava Carmon wrote: When I initialize the NSURLConnection I define a timeout in my NSURLMutableRequest in order not to stuck the GUI and let the user to work with application. On timeout I get didFailWithError

NSURLConnection weirdiness

2010-05-28 Thread Nava Carmon
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

Re: NSURLConnection weirdiness

2010-05-28 Thread Jens Alfke
On May 28, 2010, at 2:58 AM, Nava Carmon wrote: 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. Do you mean

Re: NSURLConnection weirdiness

2010-05-28 Thread Jerry Krinock
On 2010 May 28, at 02:58, Nava Carmon wrote: When I enter same link in Safari it takes a second to bring data. I understand that you're saying it works OK at the same time from the same IP address from Safari, meaning that you have ruled out being throttled by this certain server, or your