comparison h2_limit_conn.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 882267679006
children
comparison
equal deleted inserted replaced
1899:a0ee073760c5 1900:236d038dc04a
49 } 49 }
50 50
51 EOF 51 EOF
52 52
53 $t->write_file('t.html', 'SEE-THIS'); 53 $t->write_file('t.html', 'SEE-THIS');
54
55 # suppress deprecation warning
56
57 open OLDERR, ">&", \*STDERR; close STDERR;
54 $t->run(); 58 $t->run();
59 open STDERR, ">&", \*OLDERR;
55 60
56 ############################################################################### 61 ###############################################################################
57 62
58 my $s = Test::Nginx::HTTP2->new(); 63 my $s = Test::Nginx::HTTP2->new();
59 $s->h2_settings(0, 0x4 => 1); 64 $s->h2_settings(0, 0x4 => 1);