Ticket #3218 (closed defect: fixed)
SSL disconnection sometimes hangs indefinitely with pyOpenSSL 0.7
| Reported by: | exarkun | Owned by: | exarkun |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | jknight, therve | Branch: | branches/ssl-disconnection-3218-4 |
| Author: | exarkun | Launchpad Bug: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
