# HG changeset patch # User Sergey Kandaurov # Date 1612959202 -10800 # Node ID 21f511a7f5c37ec879f279b73194069eb2caeb65 # Parent a78eedc3948403bcb830686324dd5b66c0b2318d Tests: compatibility with http2_max_requests removal. diff -r a78eedc39484 -r 21f511a7f5c3 h2_max_requests.t --- a/h2_max_requests.t Wed Feb 10 15:12:56 2021 +0300 +++ b/h2_max_requests.t Wed Feb 10 15:13:22 2021 +0300 @@ -43,6 +43,7 @@ server_name localhost; http2_max_requests 2; + keepalive_requests 2; location / { } } @@ -51,7 +52,12 @@ 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; ###############################################################################