requests / SSL blocks forever?

Nagy László Zsolt gandalf at shopzeus.com
Tue Jan 16 11:11:33 EST 2018


>> Or maybe I misunderstood the docs and the timeout means the max. time
>> elapsed between receiving two chunks of data from the server?
> Yes. It's documented better here:
> http://docs.python-requests.org/en/master/user/advanced/#timeouts
>
> You can't specify a "total time" within which the operation must
> succeed or be abandoned, but if you specify a timeout and the
> server stops responding, either at the start of the process or
> in the middle of the response, then it will time out after the
> specified delay.
Very good, thank you! Setting the timeout solved the problem for now. :-)




More information about the Python-list mailing list