[issue45795] urllib http client vulnerable to DOS attack

Muhammad Farhan report at bugs.python.org
Thu Nov 18 12:13:32 EST 2021


Muhammad Farhan <farhankhursheed2018 at gmail.com> added the comment:

Maximum time in seconds that you allow the whole operation to take. This is useful for preventing your batch jobs from hanging for hours due to slow networks or links going down. Since 7.32.0, this option accepts decimal values, but the actual timeout will decrease in accuracy as the specified timeout increases in decimal precision.

If this option is used several times, the last one will be used.

Examples:

 curl --max-time 10 https://example.com
 curl --max-time 2.92 https://example.com

Ref: 
https://curl.se/docs/manpage.html#-m

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45795>
_______________________________________


More information about the Python-bugs-list mailing list