Lines Matching refs:r

57         r = curl.http_get(url=url, alpn_proto=proto)
58 assert r.json['HTTPS'] == 'on', f'{r.json}'
59 assert 'SSL_SESSION_ID' in r.json, f'{r.json}'
60 assert 'SSL_SESSION_RESUMED' in r.json, f'{r.json}'
61 assert r.json['SSL_SESSION_RESUMED'] == 'Initial', f'{r.json}'
86 r = curl.http_download(urls=[urln], alpn_proto=proto, with_stats=True,
88 r.check_response(count=count, http_status=200)
91 assert r.total_connects == count, r.dump_logs()
111 r = curl.http_get(url=url, alpn_proto=proto)
112 assert r.exit_code == 0, f'{r}'
113 assert r.json, f'{r}'
116 assert r.json['SSL_TLS_SNI'] == env.domain1, f'{r.json}'
126 r = curl.http_get(url=url, alpn_proto=proto, extra_args=[
129 if r.exit_code == 0:
130 assert r.json, f'{r.stdout}'
133 assert r.json['SSL_TLS_SNI'] == env.domain1, f'{r.json}'
138 assert r.exit_code in [7, 35, 60], f'{r}'
152 r = curl.http_get(url=url, alpn_proto=proto)
153 assert r.exit_code == 0, f'{r}'
154 assert r.json, f'{r}'
157 assert 'SSL_TLS_SNI' not in r.json, f'{r.json}'
167 r = curl.http_get(url=url, alpn_proto=proto)
168 assert r.exit_code == 0, f'{r}'
169 assert r.json, f'{r}'
171 assert r.json['SSL_TLS_SNI'] == domain, f'{r.json}'
236 r = curl.http_get(url=url, alpn_proto=proto, extra_args=extra_args)
238 assert r.exit_code == 0, r.dump_logs()
239 assert r.json['HTTPS'] == 'on', r.dump_logs()
240 assert r.json['SSL_PROTOCOL'] == 'TLSv1.3', r.dump_logs()
241 assert ciphers13 is None or r.json['SSL_CIPHER'] in ciphers13, r.dump_logs()
243 assert r.exit_code == 0, r.dump_logs()
244 assert r.json['HTTPS'] == 'on', r.dump_logs()
245 assert r.json['SSL_PROTOCOL'] == 'TLSv1.2', r.dump_logs()
246 assert ciphers12 is None or r.json['SSL_CIPHER'] in ciphers12, r.dump_logs()
248 assert r.exit_code != 0, r.dump_logs()
261 r = curl.http_get(url=url, alpn_proto=proto, extra_args=[
265 assert r.exit_code == 91, f'{r}'
309 r = curl.http_get(url=url, alpn_proto=proto, extra_args=extra_args)
311 assert r.exit_code == 0, f'extra_args={extra_args}\n{r.dump_logs()}'
312 assert r.json['HTTPS'] == 'on', r.dump_logs()
313 assert r.json['SSL_PROTOCOL'] == tls_proto, r.dump_logs()
315 assert r.exit_code != 0, f'extra_args={extra_args}\n{r.dump_logs()}'
330 r = client.run(args=[
336 r.check_exit_code(0)
339 for line in r.trace_lines:
340 m = re.match(r'\[1-1] \* SSL reusing session.*', line)
353 r = curl.http_get(url=url, alpn_proto=proto)
354 assert r.exit_code == 60, f'{r}'
364 r = curl.http_get(url=url, alpn_proto=proto, extra_args=[
367 assert r.exit_code == 0, f'{r}'
368 assert r.json, f'{r}'