Mercurial > hg > nginx-tests
diff h2_proxy_request_buffering_redirect.t @ 1986:11463d379570
Tests: reworked HTTP/2 tests to use "http2 on".
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 04 Jun 2024 05:08:02 +0300 |
parents | 236d038dc04a |
children |
line wrap: on
line diff
--- a/h2_proxy_request_buffering_redirect.t Mon Jun 03 18:15:28 2024 +0300 +++ b/h2_proxy_request_buffering_redirect.t Tue Jun 04 05:08:02 2024 +0300 @@ -38,10 +38,11 @@ %%TEST_GLOBALS_HTTP%% server { - listen 127.0.0.1:8080 http2; + listen 127.0.0.1:8080; listen 127.0.0.1:8081; server_name localhost; + http2 on; proxy_http_version 1.1; location / { @@ -68,11 +69,7 @@ EOF -# suppress deprecation warning - -open OLDERR, ">&", \*STDERR; close STDERR; $t->run(); -open STDERR, ">&", \*OLDERR; ###############################################################################