Home
last modified time | relevance | path

Searched refs:read_timeout (Results 1 – 22 of 22) sorted by relevance

/unit/test/unit/applications/
H A Dwebsockets.py72 def frame_read(self, sock, read_timeout=60): argument
76 rlist = select.select([sock], [], [], read_timeout)[0]
80 if read_timeout == 60:
229 def message_read(self, sock, read_timeout=60): argument
230 frame = self.frame_read(sock, read_timeout=read_timeout)
233 temp = self.frame_read(sock, read_timeout=read_timeout)
/unit/test/
H A Dtest_settings.py21 read_timeout=1,
79 read_timeout=1,
112 read_timeout=1,
145 read_timeout=1,
152 b"""012""", start=True, sock=sock, read_timeout=1, raw=True
158 b"""345""", start=True, sock=sock, read_timeout=1, raw=True
229 read_timeout=1,
H A Dtest_access_log.py34 read_timeout=1,
172 resp = self.http(b"""GE""", raw=True, read_timeout=1)
196 resp = self.http(b"""GET / HTTP/1.1""", raw=True, read_timeout=1)
209 resp = self.http(b"""GET / HTTP/1.1\n""", raw=True, read_timeout=1)
H A Dtest_asgi_application.py179 read_timeout=1,
215 read_timeout=1,
234 read_timeout=1,
271 read_timeout=1,
H A Dtest_java_websockets.py24 assert self.recvall(sock, read_timeout=0.1) == b'', 'empty soc'
430 assert self.recvall(sock, read_timeout=0.1) == b'', '2_7'
435 assert self.recvall(sock, read_timeout=0.1) == b'', '2_8'
501 assert self.recvall(sock, read_timeout=0.1) == b'', 'empty 3_2'
723 assert self.recvall(sock, read_timeout=0.1) == b'', '5_4'
760 assert self.recvall(sock, read_timeout=0.1) == b'', '5_7'
951 assert self.recvall(sock, read_timeout=0.1) == b'', '5_20'
971 frame = self.ws.frame_read(sock, read_timeout=3)
980 frame = self.ws.frame_read(sock, read_timeout=3)
1121 self.recvall(sock, read_timeout=1)
[all …]
H A Dtest_node_websockets.py24 assert self.recvall(sock, read_timeout=0.1) == b'', 'empty soc'
449 assert self.recvall(sock, read_timeout=0.1) == b'', '2_7'
454 assert self.recvall(sock, read_timeout=0.1) == b'', '2_8'
520 assert self.recvall(sock, read_timeout=0.1) == b'', 'empty 3_2'
538 assert self.recvall(sock, read_timeout=0.1) == b'', 'empty 3_3'
742 assert self.recvall(sock, read_timeout=0.1) == b'', '5_4'
779 assert self.recvall(sock, read_timeout=0.1) == b'', '5_7'
970 assert self.recvall(sock, read_timeout=0.1) == b'', '5_20'
1140 self.recvall(sock, read_timeout=1)
1293 frame = self.ws.frame_read(sock, read_timeout=5)
[all …]
H A Dtest_asgi_websockets.py30 assert self.recvall(sock, read_timeout=0.1) == b'', 'empty soc'
503 assert self.recvall(sock, read_timeout=0.1) == b'', '2_7'
508 assert self.recvall(sock, read_timeout=0.1) == b'', '2_8'
574 assert self.recvall(sock, read_timeout=0.1) == b'', 'empty 3_2'
592 assert self.recvall(sock, read_timeout=0.1) == b'', 'empty 3_3'
796 assert self.recvall(sock, read_timeout=0.1) == b'', '5_4'
833 assert self.recvall(sock, read_timeout=0.1) == b'', '5_7'
1024 assert self.recvall(sock, read_timeout=0.1) == b'', '5_20'
1194 self.recvall(sock, read_timeout=1)
1347 frame = self.ws.frame_read(sock, read_timeout=5)
[all …]
H A Dtest_reconfigure_tls.py55 read_timeout=1,
H A Dtest_python_application.py173 read_timeout=1,
209 read_timeout=1,
228 read_timeout=1,
265 read_timeout=1,
H A Dtest_static_fallback.py139 self.get(read_timeout=1)
H A Dtest_go_application.py102 read_timeout=1,
H A Dtest_tls.py513 read_timeout=1,
565 read_timeout=1,
613 read_timeout=1,
H A Dtest_node_application.py131 read_timeout=1,
H A Dtest_perl_application.py203 read_timeout=1,
H A Dtest_python_procman.py166 read_timeout=1,
H A Dtest_ruby_application.py354 read_timeout=1,
H A Dtest_proxy.py511 self.get_http10(read_timeout=1)
H A Dtest_php_application.py233 read_timeout=1,
H A Dtest_java_application.py835 read_timeout=1,
/unit/src/
H A Dnxt_router.h156 nxt_msec_t read_timeout; member
H A Dnxt_h1proto_websocket.c211 .timer_data = offsetof(nxt_socket_conf_t, websocket_conf.read_timeout),
536 .timer_data = offsetof(nxt_socket_conf_t, websocket_conf.read_timeout),
H A Dnxt_router.c1460 offsetof(nxt_websocket_conf_t, read_timeout),
1856 skcf->websocket_conf.read_timeout = 60 * 1000; in nxt_router_conf_create()