Mercurial > hg > nginx-tests
comparison h2.t @ 896:48d277065309
Tests: emit HTTP/2 SETTINGS acknowledgement by default.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 13 Apr 2016 13:03:09 +0300 |
parents | b06beed07bc8 |
children | 235f796c2861 |
comparison
equal
deleted
inserted
replaced
895:894e142ebdf8 | 896:48d277065309 |
---|---|
224 is($frame->{flags}, 1, 'PING flags ack'); | 224 is($frame->{flags}, 1, 'PING flags ack'); |
225 is($frame->{sid}, 0, 'PING stream'); | 225 is($frame->{sid}, 0, 'PING stream'); |
226 | 226 |
227 # timeouts | 227 # timeouts |
228 | 228 |
229 push my @sess, new_session(8089); | 229 push my @sess, new_session(8089, pure => 1); |
230 push @sess, new_session(8089); | 230 push @sess, new_session(8089, pure => 1); |
231 h2_ping($sess[-1], 'SEE-THIS'); | 231 h2_ping($sess[-1], 'SEE-THIS'); |
232 push @sess, new_session(8090); | 232 push @sess, new_session(8090, pure => 1); |
233 push @sess, new_session(8090); | 233 push @sess, new_session(8090, pure => 1); |
234 h2_ping($sess[-1], 'SEE-THIS'); | 234 h2_ping($sess[-1], 'SEE-THIS'); |
235 | 235 |
236 select undef, undef, undef, 2.1; | 236 select undef, undef, undef, 2.1; |
237 | 237 |
238 $frames = h2_read(shift @sess, all => [{ type => "GOAWAY" }]); | 238 $frames = h2_read(shift @sess, all => [{ type => "GOAWAY" }]); |