Skip to content
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

Document Difference Between the Two Time-Out Options #350

Merged
merged 1 commit into from
Aug 22, 2018
Merged

Document Difference Between the Two Time-Out Options #350

merged 1 commit into from
Aug 22, 2018

Conversation

@edgurgel edgurgel merged commit c3e38a9 into edgurgel:master Aug 22, 2018
@jaimeiniesta
Copy link

Thanks for the clarification. Just to be sure about this:

:recv_timeout - timeout for receiving an HTTP response from the socket. Default is 5000

Is this the max time to receive the whole response, or to start receiving it? I mean, if I start receiving the response soon but it's a huge document that takes 10 seconds to download, will it time out?

@jaimeiniesta
Copy link

jaimeiniesta commented Mar 27, 2020

Also, I assume these timeouts are considered one after the other. First there's the connection timeout, and after that the recv_timeout, right?

That is, if I have timeout=8000, recv_timeout=5000 then the request can take in total up to 13 seconds.

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

Successfully merging this pull request may close these issues.

Distinction between the two timeouts
3 participants