MCPcopy Create free account
hub / github.com/EasyIME/PIME / _is_connreset

Method _is_connreset

python/python3/tornado/iostream.py:1614–1617  ·  view source on GitHub ↗
(self, e: BaseException)

Source from the content-addressed store, hash-verified

1612 del buf
1613
1614 def _is_connreset(self, e: BaseException) -> bool:
1615 if isinstance(e, ssl.SSLError) and e.args[0] == ssl.SSL_ERROR_EOF:
1616 return True
1617 return super()._is_connreset(e)
1618
1619
1620class PipeIOStream(BaseIOStream):

Callers 2

_do_ssl_handshakeMethod · 0.95
set_nodelayMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected