ios - What is the situation regarding the NSURLConnection timeout with iOS5? -


i'm trying find definitive answer if possible set timeout value using nsurlconnection in ios 5 (i set 30 seconds).

i've searched past postings on information seems contradictory. example, posting

nsurlconnection timeout?

says apple mandates 4 minute minimum timeout - though cannot find apple documentation support this.

this posting says 240 limit comes apple forum thread nsmutableurlrequest not obeying timeoutinterval

they limit posts when body isn't empty. imply possible set timeout less 4 minutes gets?

somebody commented here that's not case ios 5, down voted nsmutableurlrequest not obeying timeoutinterval

and there's other's saying other things anyway of previous postings on topic seem couple of years ago prior ios 5.

if there 4 minute limit having rely on hearsay know bit ridiculous if there no apple documentation.

does know actual definitive situation on ios 5.

it not connection has associated timeout, request (that made on connection). see documentation nsurlrequest. timeout interval measured in seconds (not minutes, clue).

return value receiver's timeout interval, in seconds.

discussion if during connection attempt request remains idle longer timeout interval, request considered have timed out.*

various apple code , documentation show timeouts of 60 seconds; 4 minutes can't minimum.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -