comparison h2.t @ 1589:f145dce55f32

Tests: h2.t TODO adjusted, GOAWAY fix committed.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 03 Sep 2020 11:53:11 +0300
parents b02d0fd71638
children 35beaf85de72
comparison
equal deleted inserted replaced
1588:3afb634f287d 1589:f145dce55f32
299 # 6.8. GOAWAY 299 # 6.8. GOAWAY
300 # An endpoint MUST treat a GOAWAY frame with a stream identifier other 300 # An endpoint MUST treat a GOAWAY frame with a stream identifier other
301 # than 0x0 as a connection error (Section 5.4.1) of type PROTOCOL_ERROR. 301 # than 0x0 as a connection error (Section 5.4.1) of type PROTOCOL_ERROR.
302 302
303 TODO: { 303 TODO: {
304 local $TODO = 'not yet'; 304 local $TODO = 'not yet' unless $t->has_version('1.19.3');
305 305
306 $s = Test::Nginx::HTTP2->new(); 306 $s = Test::Nginx::HTTP2->new();
307 $s->h2_goaway(1, 0, 5, 'foobar'); 307 $s->h2_goaway(1, 0, 5, 'foobar');
308 $frames = $s->read(all => [{ type => "GOAWAY" }], wait => 0.5); 308 $frames = $s->read(all => [{ type => "GOAWAY" }], wait => 0.5);
309 309