comparison h2_priority.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 5ac6efbe5552
children
comparison
equal deleted inserted replaced
1899:a0ee073760c5 1900:236d038dc04a
42 } 42 }
43 } 43 }
44 44
45 EOF 45 EOF
46 46
47 # suppress deprecation warning
48
49 open OLDERR, ">&", \*STDERR; close STDERR;
47 $t->run(); 50 $t->run();
51 open STDERR, ">&", \*OLDERR;
48 52
49 # file size is slightly beyond initial window size: 2**16 + 80 bytes 53 # file size is slightly beyond initial window size: 2**16 + 80 bytes
50 54
51 $t->write_file('t1.html', 55 $t->write_file('t1.html',
52 join('', map { sprintf "X%04dXXX", $_ } (1 .. 8202))); 56 join('', map { sprintf "X%04dXXX", $_ } (1 .. 8202)));