Skip to content

Instantly share code, notes, and snippets.

@atomkirk
Created May 24, 2013 22:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atomkirk/5646988 to your computer and use it in GitHub Desktop.
Save atomkirk/5646988 to your computer and use it in GitHub Desktop.
NSMutableURLRequest timeout problem on lion

If you set the timeoutInterval value on NSMutableURLConnection to -1, on mountain lion, it'll never time out, on Lion, it'll time out immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment