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

Method do_handshake

Lib/ssl.py:1417–1425  ·  view source on GitHub ↗
(self, block=False)

Source from the content-addressed store, hash-verified

1415
1416 @_sslcopydoc
1417 def do_handshake(self, block=False):
1418 self._check_connected()
1419 timeout = self.gettimeout()
1420 try:
1421 if timeout == 0.0 and block:
1422 self.settimeout(None)
1423 self._sslobj.do_handshake()
1424 finally:
1425 self.settimeout(timeout)
1426
1427 def _real_connect(self, addr, connect_ex):
1428 if self.server_side:

Callers 2

_createMethod · 0.95
_real_connectMethod · 0.95

Calls 4

_check_connectedMethod · 0.95
gettimeoutMethod · 0.45
settimeoutMethod · 0.45
do_handshakeMethod · 0.45

Tested by

no test coverage detected