# HG changeset patch # User Sergey Kandaurov # Date 1445263384 -10800 # Node ID 0881219c06995dc6abe67c94fa0bdcb9717612e1 # Parent abf42eb6cf4845532c16af63e667349bb7088f61 Tests: HTTP/2 tests for Upgrade-based negotiation. diff --git a/h2.t b/h2.t --- a/h2.t +++ b/h2.t @@ -32,7 +32,7 @@ plan(skip_all => 'IO::Socket::SSL too ol my $t = Test::Nginx->new()->has(qw/http http_ssl http_v2 proxy cache/) ->has(qw/limit_conn rewrite realip shmem/) - ->has_daemon('openssl')->plan(223); + ->has_daemon('openssl')->plan(225); # Some systems have a bug in not treating zero writev iovcnt as EINVAL @@ -261,6 +261,25 @@ my %cframe = ( ############################################################################### +# Upgrade mechanism + +my $r = http(<