Mercurial > hg > nginx-tests
changeset 1299:28e5f1fa80e1
Tests: do not set undefined flag 0x1 for HTTP/2 CONTINUATION frame.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 15 Mar 2018 19:31:52 +0300 |
parents | 84a661563eae |
children | 940e04c58a79 |
files | lib/Test/Nginx/HTTP2.pm |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/Test/Nginx/HTTP2.pm Thu Mar 15 19:10:10 2018 +0300 +++ b/lib/Test/Nginx/HTTP2.pm Thu Mar 15 19:31:52 2018 +0300 @@ -196,7 +196,8 @@ my $type = defined $uri->{h2_continue} ? 0x9 : 0x1; my $flags = defined $uri->{continuation} ? 0x0 : 0x4; - $flags |= 0x1 unless defined $body || defined $uri->{body_more}; + $flags |= 0x1 unless defined $body || defined $uri->{body_more} + || defined $uri->{h2_continue}; $flags |= 0x8 if $padlen; $flags |= 0x20 if defined $dep || defined $prio;