comparison h2_request_body.t @ 1511:b5620655b506

Tests: HTTP/2 discarded body TODO adjusted, fix committed. See 8df664ebe037 and 2e61e4b6bcd9 in nginx for details.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 19 Sep 2019 12:18:10 +0300
parents a4a040b4e4dd
children 36d69685605e
comparison
equal deleted inserted replaced
1510:48306d8a2811 1511:b5620655b506
165 165
166 # request body discarded 166 # request body discarded
167 # RST_STREAM with zero code received 167 # RST_STREAM with zero code received
168 168
169 TODO: { 169 TODO: {
170 local $TODO = 'not yet'; 170 local $TODO = 'not yet' unless $t->has_version('1.17.4');
171 171
172 $s = Test::Nginx::HTTP2->new(); 172 $s = Test::Nginx::HTTP2->new();
173 $sid = $s->new_stream({ body_more => 1 }); 173 $sid = $s->new_stream({ body_more => 1 });
174 $frames = $s->read(all => [{ type => 'RST_STREAM' }], wait => 0.5); 174 $frames = $s->read(all => [{ type => 'RST_STREAM' }], wait => 0.5);
175 175