You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The connect timeout specifies the maximum amount of time to wait until a socket connection to the requested host is established. If HTTPX is unable to connect within this time frame, a ConnectTimeout exception is raised.
Does it include DNS resolution? Sounds like no. Maybe resolution should be a separate timeout parameter?
Does it include the TLS handhsake? Seems to suggest no, but best if it was clarified.
I can submit a documentation PR once these are clarified.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Thanks for a more granular timeout system than requests!
I wish the documentation clarified a few details about the connect timeout: https://www.python-httpx.org/advanced/timeouts/#fine-tuning-the-configuration
I can submit a documentation PR once these are clarified.
Beta Was this translation helpful? Give feedback.
All reactions