# HG changeset patch # User Sergey Kandaurov # Date 1612959202 -10800 # Node ID 21f511a7f5c37ec879f279b73194069eb2caeb65 # Parent a78eedc3948403bcb830686324dd5b66c0b2318d Tests: compatibility with http2_max_requests removal. diff --git a/h2_max_requests.t b/h2_max_requests.t --- a/h2_max_requests.t +++ b/h2_max_requests.t @@ -43,6 +43,7 @@ http { server_name localhost; http2_max_requests 2; + keepalive_requests 2; location / { } } @@ -51,7 +52,12 @@ http { EOF $t->write_file('index.html', 'SEE-THAT' x 50000); + +# suppress deprecation warning + +open OLDERR, ">&", \*STDERR; close STDERR; $t->run()->plan(10); +open STDERR, ">&", \*OLDERR; ###############################################################################