mirror of https://github.com/MagicStack/uvloop.git
SSLTransport.abort() should mark the transport as closed
This commit is contained in:
parent
c3aeff2a25
commit
ba25d8be86
|
@ -383,6 +383,7 @@ class _SSLProtocolTransport(aio_FlowControlMixin, aio_Transport):
|
||||||
called with None as its argument.
|
called with None as its argument.
|
||||||
"""
|
"""
|
||||||
self._ssl_protocol._abort()
|
self._ssl_protocol._abort()
|
||||||
|
self._closed = True
|
||||||
|
|
||||||
|
|
||||||
class SSLProtocol(object):
|
class SSLProtocol(object):
|
||||||
|
|
Loading…
Reference in New Issue