requests / SSL blocks forever?

Jon Ribbens jon+usenet at unequivocal.eu
Sat Jan 13 09:03:24 EST 2018


On 2018-01-13, Nagy László Zsolt <gandalf at shopzeus.com> wrote:
> I have a multi threaded Windows service written in Python. It is running
> on 3.6.2.  Sometimes I cannot stop the service, because on of the
> threads won't exit. I have narrowed down the problem to request and
> _lib.SSL_read.

(a) are you setting daemon=True on the thread?
(b) are you setting a timeout on the requests call?



More information about the Python-list mailing list