[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

requests / SSL blocks forever?

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?