Lines Matching refs:proto

62     def test_02_01_download_1(self, env: Env, httpd, nghttpx, repeat, proto):  argument
63 if proto == 'h3' and not env.have_h3():
67 r = curl.http_download(urls=[url], alpn_proto=proto)
72 def test_02_02_download_2(self, env: Env, httpd, nghttpx, repeat, proto): argument
73 if proto == 'h3' and not env.have_h3():
77 r = curl.http_download(urls=[url], alpn_proto=proto)
83 httpd, nghttpx, repeat, proto): argument
84 if proto == 'h3' and not env.have_h3():
89 r = curl.http_download(urls=[urln], alpn_proto=proto)
95 httpd, nghttpx, repeat, proto): argument
96 if proto == 'h3' and not env.have_h3():
102 r = curl.http_download(urls=[urln], alpn_proto=proto, extra_args=[
106 if proto == 'http/1.1':
116 httpd, nghttpx, repeat, proto): argument
117 if proto == 'h3' and not env.have_h3():
119 if proto == 'h3' and env.curl_uses_lib('msh3'):
124 r = curl.http_download(urls=[urln], alpn_proto=proto)
126 if proto == 'http/1.1':
136 httpd, nghttpx, repeat, proto): argument
137 if proto == 'h3' and not env.have_h3():
143 r = curl.http_download(urls=[urln], alpn_proto=proto, extra_args=[
151 httpd, nghttpx, repeat, proto): argument
152 if proto == 'h3' and not env.have_h3():
157 r = curl.http_download(urls=[urln], alpn_proto=proto,
170 httpd, nghttpx, repeat, proto): argument
174 r = curl.http_download(urls=[urln], alpn_proto=proto,
184 httpd, nghttpx, repeat, proto): argument
185 if proto == 'h3' and not env.have_h3():
190 r = curl.http_download(urls=[urln], alpn_proto=proto)
195 httpd, nghttpx, repeat, proto): argument
196 if proto == 'h3' and not env.have_h3():
201 r = curl.http_download(urls=[urln], alpn_proto=proto, extra_args=[
210 httpd, nghttpx, repeat, proto): argument
211 if proto == 'h3' and not env.have_h3():
216 r = curl.http_download(urls=[urln], alpn_proto=proto)
223 httpd, nghttpx, repeat, proto): argument
224 if proto == 'h3' and not env.have_h3():
226 if proto == 'h3' and env.curl_uses_lib('msh3'):
231 r = curl.http_download(urls=[urln], alpn_proto=proto, extra_args=[
238 httpd, nghttpx, repeat, proto): argument
239 if proto == 'h3' and not env.have_h3():
244 r = curl.http_download(urls=[urln], alpn_proto=proto, extra_args=[
251 httpd, nghttpx, repeat, proto): argument
252 if proto == 'h3' and not env.have_h3():
257 r = curl.http_download(urls=[urln], alpn_proto=proto, extra_args=[
263 def test_02_14_not_found(self, env: Env, httpd, nghttpx, repeat, proto): argument
264 if proto == 'h3' and not env.have_h3():
266 if proto == 'h3' and env.curl_uses_lib('msh3'):
271 r = curl.http_download(urls=[urln], alpn_proto=proto, extra_args=[
275 remote_port=env.port_for(alpn_proto=proto),
279 def test_02_15_fail_not_found(self, env: Env, httpd, nghttpx, repeat, proto): argument
280 if proto == 'h3' and not env.have_h3():
282 if proto == 'h3' and env.curl_uses_lib('msh3'):
287 r = curl.http_download(urls=[urln], alpn_proto=proto, extra_args=[
291 remote_port=env.port_for(alpn_proto=proto),
330 def test_02_21_lib_serial(self, env: Env, httpd, nghttpx, proto, pause_offset, repeat): argument
331 if proto == 'h3' and not env.have_h3():
340 '-n', f'{count}', '-P', f'{pause_offset}', '-V', proto, url
349 def test_02_22_lib_parallel_resume(self, env: Env, httpd, nghttpx, proto, pause_offset, repeat): argument
350 if proto == 'h3' and not env.have_h3():
361 '-P', f'{pause_offset}', '-V', proto, url
369 def test_02_23a_lib_abort_paused(self, env: Env, httpd, nghttpx, proto, repeat): argument
370 if proto == 'h3' and not env.have_h3():
372 if proto == 'h3' and env.curl_uses_ossl_quic():
374 if proto == 'h3' and env.ci_run and env.curl_uses_lib('quiche'):
378 if proto in ['h2', 'h3']:
389 '-P', f'{pause_offset}', '-V', proto, url
398 def test_02_23b_lib_abort_offset(self, env: Env, httpd, nghttpx, proto, repeat): argument
399 if proto == 'h3' and not env.have_h3():
401 if proto == 'h3' and env.curl_uses_ossl_quic():
403 if proto == 'h3' and env.ci_run and env.curl_uses_lib('quiche'):
407 if proto in ['h2', 'h3']:
418 '-A', f'{abort_offset}', '-V', proto, url
427 def test_02_23c_lib_fail_offset(self, env: Env, httpd, nghttpx, proto, repeat): argument
428 if proto == 'h3' and not env.have_h3():
430 if proto == 'h3' and env.curl_uses_ossl_quic():
432 if proto == 'h3' and env.ci_run and env.curl_uses_lib('quiche'):
436 if proto in ['h2', 'h3']:
447 '-F', f'{fail_offset}', '-V', proto, url
456 def test_02_24_speed_limit(self, env: Env, httpd, nghttpx, proto, repeat): argument
457 if proto == 'h3' and not env.have_h3():
464 r = curl.http_download(urls=[url], alpn_proto=proto, extra_args=[
485 def test_02_26_session_shared_reuse(self, env: Env, proto, httpd, nghttpx, repeat): argument
490 r = client.run(args=[proto, url])
495 def test_02_27a_paused_no_cl(self, env: Env, httpd, nghttpx, proto, repeat): argument
499 r = client.run(args=['-V', proto, url])
504 def test_02_27b_paused_no_cl(self, env: Env, httpd, nghttpx, proto, repeat): argument
508 r = client.run(args=['-V', proto, url])
513 def test_02_27c_paused_no_cl(self, env: Env, httpd, nghttpx, proto, repeat): argument
517 r = client.run(args=['-V', proto, url])
521 def test_02_28_get_compressed(self, env: Env, httpd, nghttpx, repeat, proto): argument
522 if proto == 'h3' and not env.have_h3():
527 r = curl.http_download(urls=[urln], alpn_proto=proto, extra_args=[
549 def test_02_29_h2_lib_serial(self, env: Env, httpd, nghttpx, proto, pause_offset, repeat): argument
557 '-n', f'{count}', '-P', f'{pause_offset}', '-V', proto, url
590 def test_02_32_earlydata(self, env: Env, httpd, nghttpx, proto): argument
593 if proto == 'h3' and not env.have_h3():
599 port = env.port_for(proto)
600 if proto != 'h3':
611 '-V', proto, url
629 if proto == 'http/1.1':
631 elif proto == 'h2':
633 elif proto == 'h3':