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

Method _check_shutdown_timeout

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

Source from the content-addressed store, hash-verified

631 self._do_flush()
632
633 def _check_shutdown_timeout(self):
634 if (
635 self._state in (
636 SSLProtocolState.FLUSHING,
637 SSLProtocolState.SHUTDOWN
638 )
639 ):
640 self._transport._force_close(
641 exceptions.TimeoutError('SSL shutdown timed out'))
642
643 def _do_flush(self):
644 self._do_read()

Callers

nothing calls this directly

Calls 1

_force_closeMethod · 0.45

Tested by

no test coverage detected