17

In $http docs it does not mention which is the default timeout in case of undefined.

How can I know which is the default value for this configuration?

3
  • 1
    there is no timeout by default Commented May 31, 2016 at 13:50
  • So the http connection stays open undefinitely? I'm seeing ClientAbortException on the server side. So the only possibility is that the client is leaving the site, isn't it? Commented May 31, 2016 at 14:25
  • 1
    I think you have an internal timeout set by the browser to prevent leaks or attacks, not really sure Commented May 31, 2016 at 15:24

1 Answer 1

6

At one time the default timeout for http requests was 30 seconds, but now many browsers perform "keep-alive" polling by default so in all practicality there isn't one. I've had http requests sit for several minutes before the server itself finally gave up and issued a timeout.

Sign up to request clarification or add additional context in comments.

1 Comment

I observe that requests sits for around 2 minutes until marked as timed out on ff57.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.