Tests: fixed initial window size for HTTP/2 streams with given ID.
diff --git a/lib/Test/Nginx/HTTP2.pm b/lib/Test/Nginx/HTTP2.pm index 667fba4..0dc2ec5 100644 --- a/lib/Test/Nginx/HTTP2.pm +++ b/lib/Test/Nginx/HTTP2.pm
@@ -205,8 +205,8 @@ $self->{last_stream} = $stream; } else { $self->{last_stream} += 2; - $self->{streams}{$self->{last_stream}} = $self->{iws}; } + $self->{streams}{$self->{last_stream}} = $self->{iws}; $buf = pack("xxx"); # Length stub $buf .= pack("CC", $type, $flags); # END_HEADERS