Hi, i have very annoying issue.
I have single UrlSession for Post method requests sending to server. In URLSessionConfiguration i set timeoutIntervalForRequest = 4h and expect that my request will fail only after this timeout, but it always fails after 4-5 min with error kCFErrorHTTPParseFailure = 303.
Ok, tried to create new UrlSession for each request, currently it fails again after 4-5 min with Code=-1005 "The network connection was lost."
Tried to make some workarounds founded in different forums. Tried to turn off HTTP keep alive on server side. Doesn't help.
Is this some kind of system limitation or can I increase the time in some way still?
I have single UrlSession for Post method requests sending to server. In URLSessionConfiguration i set timeoutIntervalForRequest = 4h and expect that my request will fail only after this timeout, but it always fails after 4-5 min with error kCFErrorHTTPParseFailure = 303.
Ok, tried to create new UrlSession for each request, currently it fails again after 4-5 min with Code=-1005 "The network connection was lost."
Tried to make some workarounds founded in different forums. Tried to turn off HTTP keep alive on server side. Doesn't help.
Is this some kind of system limitation or can I increase the time in some way still?