Searched refs:settimeout (Results 1 – 25 of 79) sorted by relevance
1234
29 self.sock.settimeout(7.345)32 self.sock.settimeout(3)35 self.sock.settimeout(None)40 self.sock.settimeout(1)43 self.sock.settimeout(3.9)48 self.sock.settimeout(0)49 self.sock.settimeout(0L)50 self.sock.settimeout(0.0)51 self.sock.settimeout(None)52 self.assertRaises(TypeError, self.sock.settimeout, "")[all …]
39 self.sock.settimeout(3)
50 self.sock.settimeout(15)276 self.sock.settimeout(15)306 self.sock.settimeout(15)
48 self.sock.settimeout(60) # Safety net. Look issue 11812107 self.sock.settimeout(10)396 self.sock.settimeout(10)
617 sock.settimeout(1)726 c.settimeout(1.5)1008 self.cli.settimeout(10)1505 self.serv.settimeout(1.0)1513 self.serv.settimeout(0.0)1530 self.serv.settimeout(5.0) # must be longer than alarm1562 self.serv.settimeout(1.0)1570 self.serv.settimeout(0.0)
43 self.sock.settimeout(7.345)46 self.sock.settimeout(3)49 self.sock.settimeout(None)54 self.sock.settimeout(1)57 self.sock.settimeout(3.9)62 self.sock.settimeout(0)63 self.sock.settimeout(0)64 self.sock.settimeout(0.0)65 self.sock.settimeout(None)66 self.assertRaises(TypeError, self.sock.settimeout, "")[all …]
59 def settimeout(self, timeout): member in MockSocket123 ms.settimeout(timeout)
1283 sock.settimeout(1)1476 c.settimeout(1.5)1678 s.settimeout(1)1680 s.settimeout(0)2479 self.serv_sock.settimeout(self.fail_timeout)2619 self.cli_sock.settimeout(0.03)2765 self.serv_sock.settimeout(0.03)2817 self.serv_sock.settimeout(self.fail_timeout)4027 self.serv.settimeout(self.timeout)4083 self.serv_conn.settimeout(self.timeout)[all …]
202 client.settimeout(5)226 client.settimeout(5)232 client.settimeout(5)262 client.settimeout(5)303 client.settimeout(5)332 client.settimeout(5)364 server.socket.settimeout(self._remaining())400 remote.settimeout(30)449 remote.settimeout(self._remaining())468 remote.settimeout(self._remaining())
78 self.src.settimeout(RESENDTIMEOUT)79 self.dest.settimeout(RESENDTIMEOUT)116 sock.settimeout(SOCKTIMEOUT)
69 sock.settimeout(timeout)91 sock.settimeout(timeout)265 conn.settimeout(self._timeout)
28 sock.settimeout(2)78 sock.settimeout(2)
220 sock.settimeout(self.TIMEOUT)281 sock.settimeout(self.TIMEOUT)371 sock.settimeout(self.TIMEOUT)438 sock.settimeout(self.TIMEOUT)
145 request.settimeout(self.request_timeout)220 request.settimeout(self.request_timeout)
48 sock.settimeout(1);
75 sock.settimeout(1);
90 s.settimeout.expect_call(net_utils.TIMEOUT)890 s.settimeout.expect_call(net_utils.TIMEOUT)1026 s.settimeout.expect_call(1)1048 s.settimeout.expect_call(1)1076 s.settimeout.expect_call(1)1114 s.settimeout.expect_call(1)1177 s.settimeout.expect_call(1)1210 s.settimeout.expect_call(1)1265 s.settimeout.expect_call(1)
125 self._socket.settimeout(TIMEOUT)385 self._socket.settimeout(TIMEOUT)517 self._socket.settimeout(1) # always running with 1 second timeout
62 def settimeout(self, timeout): member in socket_stub
164 self._socket.settimeout(0.5)
29 clientsocket.settimeout(5)
127 self._recv_sock.settimeout(self.TIMEOUT_VALUE_SECONDS)
35 self.socket.settimeout(3) # In seconds
200 s.settimeout(connect_timeout_seconds)
97 :meth:`~socket.settimeout`.140 timeouts enabled via a prior call to :meth:`settimeout`. The accompanying value764 can proceed. ``s.setblocking(0)`` is equivalent to ``s.settimeout(0.0)``;765 ``s.setblocking(1)`` is equivalent to ``s.settimeout(None)``.768 .. method:: socket.settimeout(value)775 ``s.settimeout(0.0)`` is equivalent to ``s.setblocking(0)``;776 ``s.settimeout(None)`` is equivalent to ``s.setblocking(1)``.785 :meth:`setblocking` or :meth:`settimeout`.797 method is simply a shorthand for certain :meth:`~socket.settimeout` calls.807 setting, and in general it is recommended to call :meth:`~socket.settimeout`