Use a more conservative default for socket timeout (Fixes #130)
This commit is contained in:
@@ -308,8 +308,9 @@ class Request():
|
|||||||
|
|
||||||
#: Specify a suggested read timeout to use when reading the request. Set to
|
#: Specify a suggested read timeout to use when reading the request. Set to
|
||||||
#: 0 to disable the use of a timeout. This timeout should be considered a
|
#: 0 to disable the use of a timeout. This timeout should be considered a
|
||||||
#: suggestion only, as some platforms may not support it.
|
#: suggestion only, as some platforms may not support it. The default is
|
||||||
socket_read_timeout = 0.1
|
#: 1 second.
|
||||||
|
socket_read_timeout = 1
|
||||||
|
|
||||||
class G:
|
class G:
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user