Merge 3.5 (issue #28990)

This commit is contained in:
Yury Selivanov 2016-12-16 11:51:57 -05:00
commit 11c135136d
3 changed files with 15 additions and 0 deletions

View file

@ -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