bpo-37322: Fix ResourceWarning and exception handling in test (GH-25553)
Revert 73ea546, increase logging, and improve stability of test. Handle all OSErrors in a single block. OSError also takes care of SSLError and socket's connection errors. Partly reverts commit fb7e750. The threaded connection handler must not raise an unhandled exception.
C
Christian Heimes committed
c8666cfa7cdc48915a14cd16095a69029720736a
Parent: f05c2ae
Committed by GitHub <noreply@github.com>
on 4/24/2021, 7:17:54 AM