diff h2_proxy_request_buffering_ssl.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_ssl.t
+++ b/h2_proxy_request_buffering_ssl.t
@@ -41,9 +41,11 @@ http {
     %%TEST_GLOBALS_HTTP%%
 
     server {
-        listen       127.0.0.1:8080 http2;
+        listen       127.0.0.1:8080;
         server_name  localhost;
 
+        http2 on;
+
         location / {
             proxy_request_buffering off;
             proxy_pass https://127.0.0.1:8082;
@@ -98,11 +100,7 @@ foreach my $name ('localhost') {
 		or die "Can't create certificate for $name: $!\n";
 }
 
-# suppress deprecation warning
-
-open OLDERR, ">&", \*STDERR; close STDERR;
 $t->run();
-open STDERR, ">&", \*OLDERR;
 
 ###############################################################################