-
Notifications
You must be signed in to change notification settings - Fork 339
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
Distinction between the two timeouts #299
Comments
Oh hey! Yes, it's confusing. Take a look at this issue and it may help clarify things: #215 |
Hey 🙂 I dug into Hackney... its connect_timeout is about TCP session establishment and the recv_timeout is about HTTP response time. I'll get the source references together and post a PR with a description in documentation in the coming week. How does that sound? |
That would be great 👍 |
Hey @edgurgel, Thanks for your patience. I opened a small PR. Do you have some suggestions on the phrasing that would make the details even more clear. |
Awesome thanks! |
I read the various issues here around timeouts but none explain the difference between the two that are documented. What exactly do the
timeout
andrecv_timeout
options mean? I'm guessing the following:timeout
to establish (open) a TCP connectionrecv_timeout
to receive an HTTP response having sent a requestThe documentation says "timeout used when receiving a connection" for the
recv_timeout
but I wouldn't say we receive a connection as a client 😕 Is the guess above right?The text was updated successfully, but these errors were encountered: