Home
last modified time | relevance | path

Searched refs:connection_lost (Results 1 - 22 of 22) sorted by relevance

/third_party/python/Lib/test/test_asyncio/
H A Dtest_protocols.py19 self.assertIsNone(p.connection_lost(f))
28 self.assertIsNone(p.connection_lost(f))
39 self.assertIsNone(p.connection_lost(f))
50 self.assertIsNone(dp.connection_lost(f))
59 self.assertIsNone(sp.connection_lost(f))
H A Dtest_proactor_events.py210 self.protocol.connection_lost.assert_called_with(None)
222 self.protocol.connection_lost.assert_called_with(None)
226 self.protocol.connection_lost.reset_mock()
229 self.assertFalse(self.protocol.connection_lost.called)
236 self.assertFalse(self.protocol.connection_lost.called)
243 self.assertFalse(self.protocol.connection_lost.called)
250 self.protocol.connection_lost.assert_called_with(None)
271 self.protocol.connection_lost.assert_called_with(None)
294 # `protocol.connection_lost` should be called even if
298 self.assertTrue(self.protocol.connection_lost
980 def connection_lost(self, exc): global() member in ProactorEventLoopUnixSockSendfileTests.MyProto
[all...]
H A 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
[all...]
H A Dtest_buffered_proto.py23 def connection_lost(self, exc): member in ReceiveStuffProto
H A Dtest_ssl.py59 def connection_lost(self, exc): member in MyBaseProto
501 # #246: make sure that no connection_lost() is called before
522 def connection_lost(self, exc): member in TestSSL.test_ssl_handshake_connection_lost.ClientProto
542 self.fail("unexpected call to connection_lost()")
544 self.fail("unexpected call to connection_lost() without"
567 def connection_lost(self, exc): member in TestSSL.test_connect_accepted_socket.MyProto
568 super().connection_lost(exc)
994 def connection_lost(self, exc): member in TestSSL.test_start_tls_server_1.ServerProto
1081 super_.connection_lost(ex)
1500 def connection_lost(sel member in TestSSL.test_shutdown_timeout_handler_leak.Protocol
1561 def connection_lost(self, exc): global() member in TestSSL.test_shutdown_timeout_handler_not_set.Protocol
[all...]
H A Dtest_sslproto.py106 ssl_proto.connection_lost(ConnectionAbortedError)
132 ssl_proto.connection_lost(None)
546 def connection_lost(self, exc): member in BaseStartTLS.test_start_tls_server_1.ServerProto
H A Dtest_selector_events.py393 self.protocol.connection_lost(None)
407 self.assertFalse(self.protocol.connection_lost.called)
460 self.protocol.connection_lost.assert_called_with(exc)
801 self.protocol.connection_lost.assert_called_with(None)
1292 self.protocol.connection_lost.assert_called_with(None)
H A Dtest_subprocess.py69 self.assertTrue(protocol.connection_lost.called)
70 self.assertEqual(protocol.connection_lost.call_args[0], (None,))
H A Dtest_sendfile.py55 def connection_lost(self, exc): member in MySendfileProto
86 def connection_lost(self, exc): member in MyProto
H A Dtest_events.py110 def connection_lost(self, exc): member in MyBaseProto
148 def connection_lost(self, exc): member in MyDatagramProto
182 def connection_lost(self, exc): member in MyReadPipeProto
209 def connection_lost(self, exc): member in MyWritePipeProto
239 def connection_lost(self, exc): member in MySubprocessProtocol
730 def connection_lost(self, exc): member in EventLoopTestsMixin.test_connect_accepted_socket.MyProto
731 super().connection_lost(exc)
H A Dtest_base_events.py1029 def connection_lost(self, exc): member in MyProto
1061 def connection_lost(self, exc): member in MyDatagramProto
1958 def connection_lost(self, exc): member in BaseLoopSockSendfileTests.MyProto
H A Dtest_sock_lowlevel.py49 def connection_lost(self, exc): member in MyProto
H A Dtest_streams.py108 writer._protocol.connection_lost(ZeroDivisionError())
/third_party/python/Lib/asyncio/
H A Dprotocols.py26 When the connection is closed, connection_lost() is called.
29 def connection_lost(self, exc): member in BaseProtocol
79 transport; finally, connection_lost() will be called exactly once
89 * CL: connection_lost()
130 * CL: connection_lost()
H A Dbase_subprocess.py243 self._protocol.connection_lost(exc)
269 def connection_lost(self, exc): member in WriteSubprocessPipeProto
H A Dstreams.py121 resume_writing() and connection_lost(). If the subclass overrides
152 def connection_lost(self, exc): member in FlowControlMixin
252 def connection_lost(self, exc): member in StreamReaderProtocol
264 super().connection_lost(exc)
368 # Wait for protocol.connection_lost() call
371 # Yield to the event loop so connection_lost() may be
375 # in a loop would never call connection_lost(), so it
H A Dsubprocess.py79 self.connection_lost(exc)
H A Dsslproto.py35 # * cl: connection_lost()
107 protocol's connection_lost() method will (eventually) called
243 The protocol's connection_lost() method will (eventually) be
322 self._conn_lost = 0 # Set when connection_lost called
387 def connection_lost(self, exc): member in SSLProtocol
409 self._loop.call_soon(self._app_protocol.connection_lost, exc)
H A Dunix_events.py594 self._protocol.connection_lost(exc)
799 self._protocol.connection_lost(exc)
H A Dproactor_events.py158 self._protocol.connection_lost(exc)
680 # We want connection_lost() to be called when other end closes
H A Dbase_events.py233 def connection_lost(self, exc): member in _SendfileFallbackProtocol
242 self._proto.connection_lost(exc)
H A Dselector_events.py784 self._conn_lost = 0 # Set when call to connection_lost scheduled.
896 self._protocol.connection_lost(exc)

Completed in 28 milliseconds