Ticket #3218 defect closed fixed
SSL disconnection sometimes hangs indefinitely with pyOpenSSL 0.7
|Reported by:||exarkun||Owned by:|
pyOpenSSL 0.7 introduced a Connection.set_shutdown API which allows Twisted to properly detect... something that I don't entirely understand yet. However, in the case where set_shutdown returns 0, it calls startWriting and not startReading so a closed socket is never detected. This results in SSL connections sometimes hanging indefinitely at shutdown.