Skip to content

Commit 01c9b6b

Browse files
committed
Tests: h2_limit_req.t cleanup.
Amended efc502e696b0 that removes checks used prior to body preread buffer. While here, set a resonable commentary.
1 parent f7a24f3 commit 01c9b6b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

h2_limit_req.t

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,8 @@ $frames = $s->read(all => [{ sid => $sid, fin => 1 }]);
101101
($frame) = grep { $_->{type} eq "HEADERS" } @$frames;
102102
is($frame->{headers}->{':status'}, 200, 'request body - limit req - empty');
103103

104-
# predict send windows
104+
# request body sent along with request
105105

106-
$sid = $s->new_stream();
107106
$s = Test::Nginx::HTTP2->new();
108107
$sid = $s->new_stream({ path => '/proxy_limit_req/', body => 'TEST2' });
109108
select undef, undef, undef, 1.1;

0 commit comments

Comments
 (0)