Mercurial > hg > nginx-tests
comparison proxy_upgrade.t @ 1381:97c8280de681
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 08 Oct 2018 15:30:39 +0300 |
parents | f7eb2875ed45 |
children | 1603f2bad385 |
comparison
equal
deleted
inserted
replaced
1380:f50c7d90f5c9 | 1381:97c8280de681 |
---|---|
135 $s = upgrade_connect(noheader => 1); | 135 $s = upgrade_connect(noheader => 1); |
136 ok(!$s, "handshake noupgrade"); | 136 ok(!$s, "handshake noupgrade"); |
137 | 137 |
138 # connection upgrade in subrequests shouldn't cause a segfault | 138 # connection upgrade in subrequests shouldn't cause a segfault |
139 | 139 |
140 SKIP: { | |
141 skip 'leaves coredump', 1 unless $t->has_version('1.13.7') | |
142 or $ENV{TEST_NGINX_UNSAFE}; | |
143 | |
144 $s = upgrade_connect(uri => '/ssi.html'); | 140 $s = upgrade_connect(uri => '/ssi.html'); |
145 ok(!$s, "handshake in subrequests"); | 141 ok(!$s, "handshake in subrequests"); |
146 | |
147 } | |
148 | 142 |
149 # bytes sent on upgraded connection | 143 # bytes sent on upgraded connection |
150 # verify with 1) data actually read by client, 2) expected data from backend | 144 # verify with 1) data actually read by client, 2) expected data from backend |
151 | 145 |
152 $t->stop(); | 146 $t->stop(); |