Mercurial > hg > nginx-tests
comparison ssl_sni_reneg.t @ 1020:196d33c2bb45
Tests: removed TODO and try_run() checks for legacy versions.
Also removed now unused spdy.t and shmem prerequisite.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Wed, 31 Aug 2016 18:21:07 +0300 |
parents | 882267679006 |
children | 89d7d4d1be40 |
comparison
equal
deleted
inserted
replaced
1019:41139d6f8b7b | 1020:196d33c2bb45 |
---|---|
98 Net::SSLeay::write($ssl, 'GET / HTTP/1.0' . CRLF); | 98 Net::SSLeay::write($ssl, 'GET / HTTP/1.0' . CRLF); |
99 | 99 |
100 ok(Net::SSLeay::renegotiate($ssl), 'renegotiation'); | 100 ok(Net::SSLeay::renegotiate($ssl), 'renegotiation'); |
101 ok(Net::SSLeay::set_tlsext_host_name($ssl, 'localhost'), 'SNI'); | 101 ok(Net::SSLeay::set_tlsext_host_name($ssl, 'localhost'), 'SNI'); |
102 | 102 |
103 SKIP: { | |
104 skip 'leaves coredump', 1 unless $t->has_version('1.9.8') | |
105 or $ENV{TEST_NGINX_UNSAFE}; | |
106 | |
107 Net::SSLeay::write($ssl, 'Host: localhost' . CRLF . CRLF); | 103 Net::SSLeay::write($ssl, 'Host: localhost' . CRLF . CRLF); |
108 | 104 |
109 is(Net::SSLeay::read($ssl), undef, 'response'); | 105 is(Net::SSLeay::read($ssl), undef, 'response'); |
110 | |
111 } | |
112 | 106 |
113 } | 107 } |
114 | 108 |
115 ############################################################################### | 109 ############################################################################### |
116 | 110 |