-
-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NFXProtocol makes requests with Alamofire and canceled redirects hang until they timeout #178
Comments
I have created a sample project demonstrating this issue: https://github.com/tomaskraina/NFXProtocolPlayground However, my knowledge regarding |
Update: I've added another test case covering a request made using Alamofire. Turns out, it's only when using Alamofire the request times out. It seems that when using just |
I ran into the same problem using URLSession and URLSessionDataDelegate |
did someone found the solution? |
I have ran across an interesting problem in an app that has Netfox integrated.
When I implement the following method from the
URLSessionDataDelegate
protocol, theNetfox
's implementation ofURLProtocol
will make the request hang until thetimeoutInterval
is reached and then it's reported as a timeout, even though the request is actually made.What's interesting is that it only hangs if I call the completion handler with
nil
as a means to not allow the redirect. If I call it with thenewRequest
, everything works as expected.The text was updated successfully, but these errors were encountered: