comparison h2_limit_req.t @ 1900:236d038dc04a

Tests: suppress "listen .. http2;" deprecation warnings.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 31 May 2023 13:29:34 +0400
parents 9a44d489966c
children
comparison
equal deleted inserted replaced
1899:a0ee073760c5 1900:236d038dc04a
62 62
63 EOF 63 EOF
64 64
65 $t->write_file('index.html', ''); 65 $t->write_file('index.html', '');
66 $t->write_file('t.html', 'SEE-THIS'); 66 $t->write_file('t.html', 'SEE-THIS');
67
68 # suppress deprecation warning
69
70 open OLDERR, ">&", \*STDERR; close STDERR;
67 $t->run(); 71 $t->run();
72 open STDERR, ">&", \*OLDERR;
68 73
69 ############################################################################### 74 ###############################################################################
70 75
71 # request body delayed in limit_req 76 # request body delayed in limit_req
72 77