Mercurial > hg > nginx-tests
diff h2_headers.t @ 1937:2a0a6035a1af
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 25 Aug 2023 18:12:08 +0400 |
parents | 236d038dc04a |
children | 11463d379570 |
line wrap: on
line diff
--- a/h2_headers.t Fri Aug 25 18:12:06 2023 +0400 +++ b/h2_headers.t Fri Aug 25 18:12:08 2023 +0400 @@ -1090,17 +1090,12 @@ ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; is($frame->{headers}->{':status'}, 400, 'invalid path'); -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.21.1'); - $sid = $s->new_stream({ path => "/t1.html\x02" }); $frames = $s->read(all => [{ sid => $sid, fin => 1 }]); ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; is($frame->{headers}->{':status'}, 400, 'invalid path control'); -} - # ngx_http_v2_parse_int() error handling # NGX_ERROR