You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
asyncio SSL transport ignores ssl_shutdown_timeout after the peer sends EOF #160520
ssl_shutdown_timeout stops applying to an asyncio SSL transport once the peer has sent EOF. SSLProtocol._on_shutdown_complete() cancels the shutdown timer (or never starts one if the EOF arrived before close()) and then calls the non-aborting close() of the underlying transport, which waits for its write buffer to drain. If the peer does not read, close() / wait_closed() never finish, while the same peer without the half-close is aborted after the timeout.
Activity
pythongh-160520: Apply asyncio ssl_shutdown_timeout after peer EOF