Skip to content

Commit 3f016fc

Browse files
committed
Tests: adjusted request body TODOs for HTTP/2
See the following issue for details: #163
1 parent 22e53ab commit 3f016fc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/modsecurity-request-body-h2.t

+3-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,9 @@ is($frame->{headers}->{':status'}, 403, "${method} request body limit process pa
185185
}
186186

187187
TODO: {
188-
local $TODO = 'not yet';
188+
# https://github.com/SpiderLabs/ModSecurity-nginx/issues/163
189+
# https://github.com/nginx/nginx/commit/6c89d752c8ab3a3cc0832927484808b68153f8c4
190+
local $TODO = 'not yet' unless $t->has_version('1.19.3');
189191

190192
$s = Test::Nginx::HTTP2->new();
191193
$sid = $s->new_stream({ method => 'POST', path => '/useauth', 'body' => 'BODY' x 16 });

0 commit comments

Comments
 (0)