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

Method _call_eof_received

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

Source from the content-addressed store, hash-verified

806 self._start_shutdown()
807
808 def _call_eof_received(self):
809 try:
810 if self._app_state == AppProtocolState.STATE_CON_MADE:
811 self._app_state = AppProtocolState.STATE_EOF
812 keep_open = self._app_protocol.eof_received()
813 if keep_open:
814 logger.warning('returning true from eof_received() '
815 'has no effect when using ssl')
816 except (KeyboardInterrupt, SystemExit):
817 raise
818 except BaseException as ex:
819 self._fatal_error(ex, 'Error calling eof_received()')
820
821 # Flow control for writes from APP socket
822

Callers 3

_do_shutdownMethod · 0.95
_do_read__bufferedMethod · 0.95
_do_read__copiedMethod · 0.95

Calls 3

_fatal_errorMethod · 0.95
eof_receivedMethod · 0.45
warningMethod · 0.45

Tested by

no test coverage detected