File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,11 +14,14 @@ http {
1414 listen 2080 ;
1515 listen [::]:2080 ;
1616
17- listen 2443 ssl http2;
18- listen [::]:2443 ssl http2;
17+ listen 2443 ssl ;
18+ listen [::]:2443 ssl ;
19+
20+ listen 2443 quic reuseport;
21+ listen [::]:2443 quic reuseport;
1922
2023 # requires nginx 1.25.1
21- # http2 on;
24+ http2 on;
2225
2326 ssl_certificate httpbin.local.pem;
2427 ssl_certificate_key httpbin.local-key.pem;
Original file line number Diff line number Diff line change 1+
2+ # GET
3+
4+ URL=https://httpbin.local:2443/get
5+
6+ vey_bench h3 " ${URL} " --ok-status 200 --tls-ca-cert " ${TEST_CA_CERT_FILE} "
7+
8+ vey_bench h3 " ${URL} " -H " Accept: application/json" --ok-status 200 --tls-ca-cert " ${TEST_CA_CERT_FILE} "
9+
10+ vey_bench h3 " ${URL} " -x socks5h://t1:toor@vey-proxy.local:1080 --ok-status 200 --tls-ca-cert " ${TEST_CA_CERT_FILE} "
11+
12+ # POST
13+
14+ URL=https://httpbin.local:2443/post
15+
16+ vey_bench h3 " ${URL} " --method POST --payload 31323334 --ok-status 200 --tls-ca-cert " ${TEST_CA_CERT_FILE} "
17+ vey_bench h3 " ${URL} " --method POST --payload 31323334 --binary --ok-status 200 --tls-ca-cert " ${TEST_CA_CERT_FILE} "
18+ vey_bench h3 " ${URL} " --method POST --payload name=foo -H " Content-Type: application/x-www-form-urlencoded" --ok-status 200 --tls-ca-cert " ${TEST_CA_CERT_FILE} "
Original file line number Diff line number Diff line change @@ -14,11 +14,14 @@ http {
1414 listen 2080 ;
1515 listen [::]:2080 ;
1616
17- listen 2443 ssl http2;
18- listen [::]:2443 ssl http2;
17+ listen 2443 ssl ;
18+ listen [::]:2443 ssl ;
19+
20+ listen 2443 quic reuseport;
21+ listen [::]:2443 quic reuseport;
1922
2023 # requires nginx 1.25.1
21- # http2 on;
24+ http2 on;
2225
2326 ssl_certificate httpbin.local.pem;
2427 ssl_certificate_key httpbin.local-key.pem;
You can’t perform that action at this time.
0 commit comments