Home
last modified time | relevance | path

Searched refs:connection_lost (Results 1 – 25 of 25) sorted by relevance

/third_party/python/Lib/test/test_asyncio/
Dtest_protocols.py13 self.assertIsNone(p.connection_lost(f))
22 self.assertIsNone(p.connection_lost(f))
33 self.assertIsNone(p.connection_lost(f))
44 self.assertIsNone(dp.connection_lost(f))
53 self.assertIsNone(sp.connection_lost(f))
Dtest_proactor_events.py209 self.protocol.connection_lost.assert_called_with(None)
221 self.protocol.connection_lost.assert_called_with(None)
225 self.protocol.connection_lost.reset_mock()
228 self.assertFalse(self.protocol.connection_lost.called)
235 self.assertFalse(self.protocol.connection_lost.called)
242 self.assertFalse(self.protocol.connection_lost.called)
262 self.protocol.connection_lost.assert_called_with(None)
284 self.assertFalse(self.protocol.connection_lost.called)
292 self.protocol.connection_lost.assert_called_with(None)
298 self.assertTrue(self.protocol.connection_lost.called)
[all …]
Dtest_unix_events.py470 def connection_lost(self, exc): member in SelectorEventLoopUnixSockSendfileTests.MyProto
709 self.protocol.connection_lost.assert_called_with(None)
776 self.protocol.connection_lost.assert_called_with(err)
785 self.protocol.connection_lost.assert_called_with(err)
798 self.protocol.connection_lost.assert_called_with(err)
959 self.protocol.connection_lost.assert_called_with(None)
1018 self.protocol.connection_lost.assert_called_with(err)
1031 self.protocol.connection_lost.assert_called_with(None)
1047 self.protocol.connection_lost.assert_called_with(None)
1056 self.protocol.connection_lost.assert_called_with(err)
[all …]
Dtest_buffered_proto.py23 def connection_lost(self, exc): member in ReceiveStuffProto
Dtest_sslproto.py104 ssl_proto.connection_lost(ConnectionAbortedError)
127 ssl_proto.connection_lost(None)
541 def connection_lost(self, exc): member in BaseStartTLS.test_start_tls_server_1.ServerProto
Dtest_selector_events.py413 self.protocol.connection_lost(None)
427 self.assertFalse(self.protocol.connection_lost.called)
480 self.protocol.connection_lost.assert_called_with(exc)
805 self.protocol.connection_lost.assert_called_with(None)
1295 self.protocol.connection_lost.assert_called_with(None)
Dtest_subprocess.py67 self.assertTrue(protocol.connection_lost.called)
68 self.assertEqual(protocol.connection_lost.call_args[0], (None,))
Dtest_sendfile.py54 def connection_lost(self, exc): member in MySendfileProto
85 def connection_lost(self, exc): member in MyProto
Dtest_events.py109 def connection_lost(self, exc): member in MyBaseProto
147 def connection_lost(self, exc): member in MyDatagramProto
181 def connection_lost(self, exc): member in MyReadPipeProto
208 def connection_lost(self, exc): member in MyWritePipeProto
238 def connection_lost(self, exc): member in MySubprocessProtocol
688 def connection_lost(self, exc): member in EventLoopTestsMixin.test_connect_accepted_socket.MyProto
689 super().connection_lost(exc)
Dtest_sock_lowlevel.py46 def connection_lost(self, exc): member in MyProto
Dtest_base_events.py1024 def connection_lost(self, exc): member in MyProto
1056 def connection_lost(self, exc): member in MyDatagramProto
1983 def connection_lost(self, exc): member in BaseLoopSockSendfileTests.MyProto
Dtest_streams.py108 writer._protocol.connection_lost(ZeroDivisionError())
/third_party/python/Doc/library/
Dasyncio-protocol.rst157 protocol's :meth:`protocol.connection_lost()
158 <BaseProtocol.connection_lost>` method will be called with
274 The protocol's :meth:`protocol.connection_lost()
275 <BaseProtocol.connection_lost>` method will eventually be
369 :meth:`protocol.connection_lost() <BaseProtocol.connection_lost>`
498 .. method:: BaseProtocol.connection_lost(exc)
584 -> connection_lost -> end
644 -> connection_lost -> end
786 def connection_lost(self, exc):
895 def connection_lost(self, exc):
[all …]
Dasyncio-llapi-index.rst418 * - ``callback`` :meth:`connection_lost() <BaseProtocol.connection_lost>`
/third_party/python/Lib/asyncio/
Dprotocols.py29 def connection_lost(self, exc): member in BaseProtocol
Dbase_subprocess.py248 self._protocol.connection_lost(exc)
269 def connection_lost(self, exc): member in WriteSubprocessPipeProto
Dstreams.py153 def connection_lost(self, exc): member in FlowControlMixin
247 def connection_lost(self, exc): member in StreamReaderProtocol
259 super().connection_lost(exc)
Dsslproto.py482 def connection_lost(self, exc): member in SSLProtocol
491 self._loop.call_soon(self._app_protocol.connection_lost, exc)
Dsubprocess.py79 self.connection_lost(exc)
Dunix_events.py574 self._protocol.connection_lost(exc)
779 self._protocol.connection_lost(exc)
Dbase_events.py232 def connection_lost(self, exc): member in _SendfileFallbackProtocol
241 self._proto.connection_lost(exc)
Dproactor_events.py155 self._protocol.connection_lost(exc)
Dselector_events.py736 self._protocol.connection_lost(exc)
/third_party/nghttp2/python/
Dnghttp2.pyx924 def connection_lost(self): member in _HTTP2SessionCore
1325 def connection_lost(self, exc): member in _HTTP2Session
1326 logging.info('connection_lost')
1328 self.http2.connection_lost()
1556 def connection_lost(self, exc): member in _HTTP2ClientSession
1557 logging.info('connection_lost')
/third_party/python/Misc/NEWS.d/
D3.8.0a1.rst2534 reader before `connection_lost` can run and feed the EOF to the reader.