Mercurial > hg > nginx-tests
diff grpc.t @ 1653:259dfb223f9a
Tests: compatibility with http2_max_header/field_size removal.
Tests are adjusted to equally fit in limits set by both old and new ways:
http2_max_header_size / http2_max_field_size and large_client_header_buffers.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 10 Feb 2021 15:13:22 +0300 |
parents | 62a1667f60f8 |
children | 0fae67763be5 |
line wrap: on
line diff
--- a/grpc.t +++ b/grpc.t @@ -50,6 +50,7 @@ http { http2_max_field_size 128k; http2_max_header_size 128k; http2_body_preread_size 128k; + large_client_header_buffers 4 32k; location / { grpc_pass grpc://127.0.0.1:8081; @@ -91,7 +92,11 @@ http { EOF +# suppress deprecation warning + +open OLDERR, ">&", \*STDERR; close STDERR; $t->run(); +open STDERR, ">&", \*OLDERR; ###############################################################################