Tests: unbreak h2_server_push.t on win32.
diff --git a/h2_server_push.t b/h2_server_push.t index 702cfaf..abae100 100644 --- a/h2_server_push.t +++ b/h2_server_push.t
@@ -128,7 +128,7 @@ $t->write_file('t2', 'SEE-THIS'); $t->write_file('explf', join('', map { sprintf "X%06dXXX", $_ } (1 .. 6553))); -$t->try_run('no http2_push')->plan(38); +$t->try_run('no http2_push')->plan(37); ############################################################################### @@ -236,11 +236,8 @@ ok($frame, 'push setting enabled'); $s->h2_settings(0, 0x2 => 42); -$sid = $s->new_stream({ path => '/expl' }); -$frames = $s->read(all => [{ type => 'PUSH_PROMISE' }]); +$frames = $s->read(all => [{ type => 'GOAWAY' }]); -($frame) = grep { $_->{type} =~ "PUSH_PROMISE" } @$frames; -ok(!$frame, 'push setting invalid - no promises'); ($frame) = grep { $_->{type} =~ "GOAWAY" } @$frames; is($frame->{'code'}, 1, 'push setting invalid - GOAWAY protocol error'); cmp_ok($frame->{'last_sid'}, '<', 5, 'push setting invalid - last sid');