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
{{ message }}
Repository navigation
inaccuracy in httplib timeout documentation #46704
The documentation for the new timeout support in 2.6 states that "If the
optional timeout parameter is given, connection attempts will timeout
after that many seconds". In fact, other non-blocking. The only
operation that might block for longer than the requested timeout is the
getaddrinfo() in socket.create_connection().
There may be similar inaccuracies in the docs of other modules to which
timeout support was added.
Activity
jjlee commentedon Mar 21, 2008
The documentation for the new timeout support in 2.6 states that "If the
optional timeout parameter is given, connection attempts will timeout
after that many seconds". In fact, other non-blocking. The only
operation that might block for longer than the requested timeout is the
getaddrinfo() in socket.create_connection().
There may be similar inaccuracies in the docs of other modules to which
timeout support was added.
jjlee commentedon Mar 21, 2008
Oops, un-finished sentence in my opening comment ("In fact, other
non-blocking.") should have read:
In fact, other blocking operations will also time out.
birkenfeld commentedon May 11, 2008
Thanks, fixed in r63058.