summaryrefslogtreecommitdiff
path: root/Lib/asyncio
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2016-12-16 11:51:57 -0500
committerYury Selivanov <yury@magic.io>2016-12-16 11:51:57 -0500
commit460416a4b039739d559968f467b7f0142f101368 (patch)
treed2d788c9121ad71164d5a087bd57ddaed25218b4 /Lib/asyncio
parentc29637b71f9f339cdd0421df0de5cceebfea5212 (diff)
downloadcpython-460416a4b039739d559968f467b7f0142f101368.tar.gz
Merge 3.5 (issue #28990)
Diffstat (limited to 'Lib/asyncio')
-rw-r--r--Lib/asyncio/sslproto.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/asyncio/sslproto.py b/Lib/asyncio/sslproto.py
index 991c77b482..7ad28d6aa0 100644
--- a/Lib/asyncio/sslproto.py
+++ b/Lib/asyncio/sslproto.py
@@ -480,6 +480,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