Open ddzialak opened 1 month ago
Is there any reason, why TConn().init()
is called by MainThread
?
Maybe the easiest solution is to move that to ThreadWorker().handle()
function?
@sgmustafi could you verify your link? That link https://www.calvarywhangarei.co.nz/captha/index.html
points to some captha
That's a malicious link. I wouldn't leave that around for anybody to click on.
Looks like something related to https://github.com/benoitc/gunicorn/issues/1913 and may happen with gthread worker only when using with
ssl
. Previously it happened during executingparse_headers
and/oraccept
functions, and was fixed by catching ENOTCONN error: https://github.com/benoitc/gunicorn/pull/2277/filesHowever, when using with
ssl
worker may crash in similar way:And gthread.py line 56 is:
So, these exceptions if appeared in
accept
orparse_headers
(exactly inhandle
function) are ignored and worker works properly but in case it happens inTConn.init
cause that worker process crash.