Mercurial > hg > nginx-tests
comparison h2.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 | 26252394dd58 |
children | 2a0a6035a1af |
comparison
equal
deleted
inserted
replaced
1899:a0ee073760c5 | 1900:236d038dc04a |
---|---|
130 } | 130 } |
131 } | 131 } |
132 | 132 |
133 EOF | 133 EOF |
134 | 134 |
135 # suppress deprecation warning | |
136 | |
137 open OLDERR, ">&", \*STDERR; close STDERR; | |
135 $t->run(); | 138 $t->run(); |
139 open STDERR, ">&", \*OLDERR; | |
136 | 140 |
137 # file size is slightly beyond initial window size: 2**16 + 80 bytes | 141 # file size is slightly beyond initial window size: 2**16 + 80 bytes |
138 | 142 |
139 $t->write_file('t1.html', | 143 $t->write_file('t1.html', |
140 join('', map { sprintf "X%04dXXX", $_ } (1 .. 8202))); | 144 join('', map { sprintf "X%04dXXX", $_ } (1 .. 8202))); |