diff grpc.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 2a0a6035a1af
children
line wrap: on
line diff
--- a/grpc.t
+++ b/grpc.t
@@ -44,9 +44,10 @@ http {
     }
 
     server {
-        listen       127.0.0.1:8080 http2;
+        listen       127.0.0.1:8080;
         server_name  localhost;
 
+        http2 on;
         http2_body_preread_size 128k;
         large_client_header_buffers 4 32k;
 
@@ -90,11 +91,7 @@ http {
 
 EOF
 
-# suppress deprecation warning
-
-open OLDERR, ">&", \*STDERR; close STDERR;
 $t->run();
-open STDERR, ">&", \*OLDERR;
 
 ###############################################################################