Lines Matching refs:proto

58     def test_07_01_upload_1_small(self, env: Env, httpd, nghttpx, repeat, proto):  argument
59 if proto == 'h3' and not env.have_h3():
61 if proto == 'h3' and env.curl_uses_lib('msh3'):
66 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto)
73 def test_07_02_upload_1_large(self, env: Env, httpd, nghttpx, repeat, proto): argument
74 if proto == 'h3' and not env.have_h3():
76 if proto == 'h3' and env.curl_uses_lib('msh3'):
81 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto)
89 def test_07_10_upload_sequential(self, env: Env, httpd, nghttpx, repeat, proto): argument
90 if proto == 'h3' and not env.have_h3():
92 if proto == 'h3' and env.curl_uses_lib('msh3'):
98 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto)
106 def test_07_11_upload_parallel(self, env: Env, httpd, nghttpx, repeat, proto): argument
107 if proto == 'h3' and not env.have_h3():
109 if proto == 'h3' and env.curl_uses_lib('msh3'):
116 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto,
125 def test_07_12_upload_seq_large(self, env: Env, httpd, nghttpx, repeat, proto): argument
126 if proto == 'h3' and not env.have_h3():
128 if proto == 'h3' and env.curl_uses_lib('msh3'):
134 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto)
144 def test_07_13_upload_seq_large(self, env: Env, httpd, nghttpx, repeat, proto): argument
145 if proto == 'h3' and not env.have_h3():
147 if proto == 'h3' and env.curl_uses_lib('msh3'):
153 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto)
165 def test_07_14_upload_stdin(self, env: Env, httpd, nghttpx, proto, indata): argument
166 if proto == 'h3' and not env.have_h3():
168 if proto == 'h3' and env.curl_uses_lib('msh3'):
173 r = curl.http_put(urls=[url], data=indata, alpn_proto=proto)
180 def test_07_15_hx_put(self, env: Env, httpd, nghttpx, proto): argument
181 if proto == 'h3' and not env.have_h3():
190 '-n', f'{count}', '-S', f'{upload_size}', '-V', proto, url
196 def test_07_16_hx_put_reuse(self, env: Env, httpd, nghttpx, proto): argument
197 if proto == 'h3' and not env.have_h3():
206 '-n', f'{count}', '-S', f'{upload_size}', '-R', '-V', proto, url
212 def test_07_17_hx_post_reuse(self, env: Env, httpd, nghttpx, proto): argument
213 if proto == 'h3' and not env.have_h3():
222 '-n', f'{count}', '-M', 'POST', '-S', f'{upload_size}', '-R', '-V', proto, url
229 def test_07_20_upload_parallel(self, env: Env, httpd, nghttpx, repeat, proto): argument
230 if proto == 'h3' and not env.have_h3():
232 if proto == 'h3' and env.curl_uses_lib('msh3'):
239 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto,
248 def test_07_21_upload_parallel_large(self, env: Env, httpd, nghttpx, repeat, proto): argument
249 if proto == 'h3' and not env.have_h3():
251 if proto == 'h3' and env.curl_uses_lib('msh3'):
258 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto,
265 def test_07_22_upload_parallel_fail(self, env: Env, httpd, nghttpx, repeat, proto): argument
266 if proto == 'h3' and not env.have_h3():
268 if proto == 'h3' and env.curl_uses_lib('msh3'):
275 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto,
277 exp_exit = 92 if proto == 'h2' else 95
282 def test_07_30_put_100k(self, env: Env, httpd, nghttpx, repeat, proto): argument
283 if proto == 'h3' and not env.have_h3():
285 if proto == 'h3' and env.curl_uses_lib('msh3'):
291 r = curl.http_put(urls=[url], fdata=fdata, alpn_proto=proto,
302 def test_07_31_put_10m(self, env: Env, httpd, nghttpx, repeat, proto): argument
303 if proto == 'h3' and not env.have_h3():
305 if proto == 'h3' and env.curl_uses_lib('msh3'):
311 r = curl.http_put(urls=[url], fdata=fdata, alpn_proto=proto,
322 def test_07_32_issue_10591(self, env: Env, httpd, nghttpx, repeat, proto): argument
323 if proto == 'h3' and not env.have_h3():
325 if proto == 'h3' and env.curl_uses_lib('msh3'):
331 r = curl.http_put(urls=[url], fdata=fdata, alpn_proto=proto)
337 proto = 'h2'
358 proto = 'h2'
380 proto = 'h2'
416 def test_07_36_upload_30x(self, env: Env, httpd, nghttpx, repeat, redir, proto): argument
417 if proto == 'h3' and not env.have_h3():
419 if proto == 'h3' and env.curl_uses_lib('msh3'):
424 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto, extra_args=[
433 def test_07_37_upload_307(self, env: Env, httpd, nghttpx, repeat, proto): argument
434 if proto == 'h3' and not env.have_h3():
436 if proto == 'h3' and env.curl_uses_lib('msh3'):
441 r = curl.http_upload(urls=[url], data=data, alpn_proto=proto, extra_args=[
450 def test_07_38_form_small(self, env: Env, httpd, nghttpx, repeat, proto): argument
451 if proto == 'h3' and not env.have_h3():
453 if proto == 'h3' and env.curl_uses_lib('msh3'):
457 r = curl.http_form(urls=[url], alpn_proto=proto, form={
464 def test_07_39_post_urlenc_small(self, env: Env, httpd, nghttpx, repeat, proto): argument
465 if proto == 'h3' and not env.have_h3():
467 if proto == 'h3' and env.curl_uses_lib('msh3'):
472 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto, extra_args=[
482 def test_07_40_post_urlenc_large(self, env: Env, httpd, nghttpx, repeat, proto): argument
483 if proto == 'h3' and not env.have_h3():
485 if proto == 'h3' and env.curl_uses_lib('msh3'):
490 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto, extra_args=[
504 def test_07_41_post_urlenc_small(self, env: Env, httpd, nghttpx, repeat, proto): argument
505 if proto == 'h3' and not env.have_h3():
507 if proto == 'h3' and env.curl_uses_lib('msh3'):
509 if proto == 'h3' and env.curl_uses_lib('quiche'):
518 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto, extra_args=extra_args)
539 def test_07_42a_upload_disconnect(self, env: Env, httpd, nghttpx, repeat, proto): argument
540 if proto == 'h3' and not env.have_h3():
542 if proto == 'h3' and env.curl_uses_lib('msh3'):
548 r = client.run(['-V', proto, url])
551 elif proto == 'h2':
553 elif proto == 'h3':
560 def test_07_42b_upload_disconnect(self, env: Env, httpd, nghttpx, repeat, proto): argument
561 if proto == 'h3' and not env.have_h3():
563 if proto == 'h3' and env.curl_uses_lib('msh3'):
569 r = client.run(['-V', proto, url])
571 if proto == 'h2' or proto == 'h3':
577 def test_07_42c_upload_disconnect(self, env: Env, httpd, nghttpx, repeat, proto): argument
578 if proto == 'h3' and not env.have_h3():
580 if proto == 'h3' and env.curl_uses_lib('msh3'):
586 r = client.run(['-V', proto, url])
588 if proto == 'h2' or proto == 'h3':
593 def test_07_43_upload_denied(self, env: Env, httpd, nghttpx, repeat, proto): argument
594 if proto == 'h3' and not env.have_h3():
596 if proto == 'h3' and env.curl_uses_lib('msh3'):
604 r = curl.http_put(urls=[url], fdata=fdata, alpn_proto=proto,
610 def test_07_50_put_speed_limit(self, env: Env, httpd, nghttpx, proto, repeat): argument
611 if proto == 'h3' and not env.have_h3():
619 r = curl.http_put(urls=[url], fdata=fdata, alpn_proto=proto,
630 def test_07_51_echo_speed_limit(self, env: Env, httpd, nghttpx, proto, repeat): argument
631 if proto == 'h3' and not env.have_h3():
638 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto,
648 def test_07_60_upload_exp100(self, env: Env, httpd, nghttpx, repeat, proto): argument
654 r = curl.http_put(urls=[url], fdata=fdata, alpn_proto=proto, extra_args=[
661 def test_07_61_upload_exp100_timeout(self, env: Env, httpd, nghttpx, repeat, proto): argument
667 r = curl.http_put(urls=[url], fdata=fdata, alpn_proto=proto, extra_args=[
683 def test_07_70_put_earlydata(self, env: Env, httpd, nghttpx, proto, upload_size, exp_early): argument
686 if proto == 'h3' and not env.have_h3():
691 port = env.port_for(proto)
692 if proto != 'h3':
705 '-V', proto, url