Mercurial > hg > nginx-tests
comparison h2.t @ 813:43716ff7f8f5
Tests: unbreak h2.t when data read with empty markers.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 21 Dec 2015 14:09:22 +0300 |
parents | fed83003c45c |
children | 685fc620d721 |
comparison
equal
deleted
inserted
replaced
812:acec03d44976 | 813:43716ff7f8f5 |
---|---|
3141 $frame->{sid} = $stream; | 3141 $frame->{sid} = $stream; |
3142 push @got, $frame; | 3142 push @got, $frame; |
3143 | 3143 |
3144 $buf = substr($buf, $length); | 3144 $buf = substr($buf, $length); |
3145 | 3145 |
3146 last unless test_fin($got[-1], $extra{all}); | 3146 last unless $extra{all} && test_fin($got[-1], $extra{all}); |
3147 }; | 3147 }; |
3148 return \@got; | 3148 return \@got; |
3149 } | 3149 } |
3150 | 3150 |
3151 sub test_fin { | 3151 sub test_fin { |