# HG changeset patch # User Sergey Kandaurov # Date 1445263384 -10800 # Node ID 0881219c06995dc6abe67c94fa0bdcb9717612e1 # Parent abf42eb6cf4845532c16af63e667349bb7088f61 Tests: HTTP/2 tests for Upgrade-based negotiation. diff -r abf42eb6cf48 -r 0881219c0699 h2.t --- a/h2.t Mon Oct 19 17:02:20 2015 +0300 +++ b/h2.t Mon Oct 19 17:03:04 2015 +0300 @@ -32,7 +32,7 @@ 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 @@ ############################################################################### +# Upgrade mechanism + +my $r = http(<