Re: Inappropriate NSError from -[NSURLConnection sendSynchronousRequest:::]
Re: Inappropriate NSError from -[NSURLConnection sendSynchronousRequest:::]
- Subject: Re: Inappropriate NSError from -[NSURLConnection sendSynchronousRequest:::]
- From: Jerry Krinock <email@hidden>
- Date: Mon, 5 Oct 2009 16:45:05 -0700
On 2009 Oct 04, at 22:44, Jeff Johnson wrote:
Don't use +[NSURLConnection
sendSynchronousRequest:returningResponse:error:], it's a bad API....
Yes, I see what you mean, Jeff. This API is a handy shortcut which
may be OK for talking to your own server, but its behavior is not
documented well enough to predictably handle the Real World with all
of its corner cases.
So I'll have to bite the bullet -- implement a delegate and a thread-
block/lock.
_______________________________________________
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