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

Method _check_handshake_timeout

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

Source from the content-addressed store, hash-verified

550 self._do_handshake()
551
552 def _check_handshake_timeout(self):
553 if self._state == SSLProtocolState.DO_HANDSHAKE:
554 msg = (
555 f"SSL handshake is taking longer than "
556 f"{self._ssl_handshake_timeout} seconds: "
557 f"aborting the connection"
558 )
559 self._fatal_error(ConnectionAbortedError(msg))
560
561 def _do_handshake(self):
562 try:

Callers

nothing calls this directly

Calls 1

_fatal_errorMethod · 0.95

Tested by

no test coverage detected