Skip to content

Need to change the default timeout for httprequest on windows #66

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

Closed
huguesv opened this issue Nov 1, 2012 · 0 comments
Closed

Need to change the default timeout for httprequest on windows #66

huguesv opened this issue Nov 1, 2012 · 0 comments

Comments

@huguesv
Copy link
Contributor

huguesv commented Nov 1, 2012

The default timeouts for winhttp are not large enough for some operations.

For example, when reading from service bus, it is possible to give azure a timeout to wait for availability of a message in the queue (let's say 40 secs). If that timeout is larger than the winhttp timeout (30 secs), you'll get a timeout error from winhttp after 30 secs.

There is a limitation of 60 secs for any Azure calls through http:

"When using http, the load balancer will kill any connection after a minute of inactivity. "

So we can probably just set the timeouts to 60-70 secs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant