Mercurial > hg > nginx-tests
comparison spdy.t @ 595:6cdfd177319b
Tests: fixed typos and misspellings.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 28 May 2015 15:13:55 +0300 |
parents | 8593f34a12e5 |
children | 2b43ad56bce0 |
comparison
equal
deleted
inserted
replaced
594:8dd5cf697eae | 595:6cdfd177319b |
---|---|
478 $frames = spdy_read($sess, all => [{ sid => $sid1, fin => 1 }]); | 478 $frames = spdy_read($sess, all => [{ sid => $sid1, fin => 1 }]); |
479 | 479 |
480 ($frame) = grep { $_->{type} eq "DATA" } @$frames; | 480 ($frame) = grep { $_->{type} eq "DATA" } @$frames; |
481 is($frame->{data}, 7, 'priority 7'); | 481 is($frame->{data}, 7, 'priority 7'); |
482 | 482 |
483 # stream muliplexing + priority | 483 # stream multiplexing + priority |
484 | 484 |
485 $sess = new_session(); | 485 $sess = new_session(); |
486 $sid1 = spdy_stream($sess, { path => '/t1.html', prio => 7 }); | 486 $sid1 = spdy_stream($sess, { path => '/t1.html', prio => 7 }); |
487 spdy_read($sess, all => [{ sid => $sid1, length => 2**16 }]); | 487 spdy_read($sess, all => [{ sid => $sid1, length => 2**16 }]); |
488 | 488 |