-
Notifications
You must be signed in to change notification settings - Fork 181
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
Add connectiontimeout to HTTP.request #524
Comments
Aha, I found that you can pass
which is fixed by this PR: #525 |
This was referenced Mar 23, 2020
Closing as fixed/dup of #221 to document |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! I am looking for a way to limit the connection time for a call to a non-responding server:
(This is an API that responds after exactly 10 seconds.) Right now, it will block for 10 seconds - regardless of the
readtimeout
value.I understand that this can be done using a
ConnectionPool
, but I feel like an optional parameter forHTTP.request
would be useful. Feel free to close this suggestion if you disagree :)The text was updated successfully, but these errors were encountered: