Mercurial > hg > nginx-tests
comparison h2_server_push.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 | f7170c7acf3a |
children |
comparison
equal
deleted
inserted
replaced
1899:a0ee073760c5 | 1900:236d038dc04a |
---|---|
137 | 137 |
138 $t->write_file('t1', join('', map { sprintf "X%04dXXX", $_ } (1 .. 8202))); | 138 $t->write_file('t1', join('', map { sprintf "X%04dXXX", $_ } (1 .. 8202))); |
139 $t->write_file('t2', 'SEE-THIS'); | 139 $t->write_file('t2', 'SEE-THIS'); |
140 $t->write_file('explf', join('', map { sprintf "X%06dXXX", $_ } (1 .. 6553))); | 140 $t->write_file('explf', join('', map { sprintf "X%06dXXX", $_ } (1 .. 6553))); |
141 | 141 |
142 # suppress deprecation warning | |
143 | |
144 open OLDERR, ">&", \*STDERR; close STDERR; | |
142 $t->run(); | 145 $t->run(); |
146 open STDERR, ">&", \*OLDERR; | |
143 | 147 |
144 ############################################################################### | 148 ############################################################################### |
145 | 149 |
146 # 6.6. PUSH_PROMISE | 150 # 6.6. PUSH_PROMISE |
147 # PUSH_PROMISE frames MUST only be sent on a peer-initiated stream that | 151 # PUSH_PROMISE frames MUST only be sent on a peer-initiated stream that |