Is Python SSL API thread-safe?

Grant Edwards grant.b.edwards at gmail.com
Sun Jan 22 15:18:49 EST 2017


Is the Python SSL API thread-safe with respect to recv() and send()?
IOW, can I have one thread doing blocking recv() calls on an SSL
connection object while "simultaneously" a second thread is calling
send() on that same connection object?
I assumed that was allowed, but I can't find anything in the
documentation that actually says it is.
-- 
Grant


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /