mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #28990: Fix SSL hanging if connection is closed before handshake completed.
This commit is contained in:
parent
610f5d739d
commit
b1461aa781
3 changed files with 15 additions and 0 deletions
|
@ -479,6 +479,7 @@ class SSLProtocol(protocols.Protocol):
|
|||
self._loop.call_soon(self._app_protocol.connection_lost, exc)
|
||||
self._transport = None
|
||||
self._app_transport = None
|
||||
self._wakeup_waiter(exc)
|
||||
|
||||
def pause_writing(self):
|
||||
"""Called when the low-level transport's buffer goes over
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue