Searched refs:settimeout (Results 1 – 25 of 38) sorted by relevance
12
44 self.sock.settimeout(7.345)47 self.sock.settimeout(3)50 self.sock.settimeout(None)55 self.sock.settimeout(1)58 self.sock.settimeout(3.9)63 self.sock.settimeout(0)64 self.sock.settimeout(0)65 self.sock.settimeout(0.0)66 self.sock.settimeout(None)67 self.assertRaises(TypeError, self.sock.settimeout, "")[all …]
59 def settimeout(self, timeout): member in MockSocket126 ms.settimeout(timeout)
205 conn.settimeout(self.timeout)215 sock.settimeout(self.timeout)
1412 sock.settimeout(1)1603 c.settimeout(1.5)1804 s.settimeout(1)1806 s.settimeout(0)2823 self.serv_sock.settimeout(self.fail_timeout)2963 self.cli_sock.settimeout(0.03)3109 self.serv_sock.settimeout(0.03)3161 self.serv_sock.settimeout(self.fail_timeout)4457 self.serv.settimeout(self.timeout)4513 self.serv_conn.settimeout(self.timeout)[all …]
41 self.socket.settimeout(0.1)51 request.settimeout(10.0)
337 sock.settimeout(3)789 s.settimeout(.2)
155 sock.settimeout(TIMEOUT)173 sock.settimeout(TIMEOUT)1043 self.sock.settimeout(20)
29 self.sock.settimeout(60) # Safety net. Look issue 11812
490 self.sock.settimeout(60) # Safety net. Look issue 11812
336 server.socket.settimeout(float(1)) # Don't hang if client fails690 serv.socket.settimeout(3)
73 static void settimeout(struct timespec *ts) in settimeout() function100 settimeout(&ts); in client()136 settimeout(&ts); in main()
64 sock.settimeout(timeout)79 sock.settimeout(timeout)253 conn.settimeout(self._timeout)
31 sock.settimeout(2)81 sock.settimeout(2)
225 sock.settimeout(self.TIMEOUT)291 sock.settimeout(self.TIMEOUT)356 sock.settimeout(self.TIMEOUT)446 sock.settimeout(self.TIMEOUT)510 sock.settimeout(self.TIMEOUT)
147 request.settimeout(self.request_timeout)232 request.settimeout(self.request_timeout)
185 def settimeout(self, value): member in TransportSocket
565 conn.settimeout(listener.gettimeout())772 s.settimeout(0)
283 sock.settimeout(self.gettimeout())830 sock.settimeout(timeout)
1035 self.settimeout(sock.gettimeout())1340 self.settimeout(None)1343 self.settimeout(timeout)
321 sock.settimeout(self.timeout)385 conn.settimeout(self.timeout)
793 self.connection.settimeout(self.timeout)
1102 self.sock.settimeout(self.timeout)
242 :meth:`~socket.settimeout`.294 :meth:`~socket.settimeout` (or implicitly through1079 :meth:`~socket.settimeout` for possible values and their respective1355 :meth:`setblocking` or :meth:`settimeout`.1705 This method is a shorthand for certain :meth:`~socket.settimeout` calls:1707 * ``sock.setblocking(True)`` is equivalent to ``sock.settimeout(None)``1709 * ``sock.setblocking(False)`` is equivalent to ``sock.settimeout(0.0)``1716 .. method:: socket.settimeout(value)1835 setting, and in general it is recommended to call :meth:`~socket.settimeout`
323 …Loop]: https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout
394 Fix socket.settimeout() and socket.setblocking() to keep socket.type as is.