MCPcopy Index your code
hub / github.com/python/cpython / _do_shutdown

Method _do_shutdown

Lib/asyncio/sslproto.py:648–659  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

646 self._do_shutdown()
647
648 def _do_shutdown(self):
649 try:
650 if not self._eof_received:
651 self._sslobj.unwrap()
652 except SSLAgainErrors:
653 self._process_outgoing()
654 except ssl.SSLError as exc:
655 self._on_shutdown_complete(exc)
656 else:
657 self._process_outgoing()
658 self._call_eof_received()
659 self._on_shutdown_complete(None)
660
661 def _on_shutdown_complete(self, shutdown_exc):
662 if self._shutdown_timeout_handle is not None:

Callers 4

buffer_updatedMethod · 0.95
eof_receivedMethod · 0.95
_do_flushMethod · 0.95
resumeMethod · 0.95

Calls 4

_process_outgoingMethod · 0.95
_on_shutdown_completeMethod · 0.95
_call_eof_receivedMethod · 0.95
unwrapMethod · 0.45

Tested by

no test coverage detected