Mercurial > hg > nginx-tests
comparison ssl_sni_reneg.t @ 1409:0bc5bd58d9de
Tests: handled SIGPIPE in ssl_sni_reneg.t.
The handler was missed in f50c7d90f5c9.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 03 Dec 2018 16:43:56 +0300 |
parents | 8c764fd93b5e |
children | a8243ed8adcb |
comparison
equal
deleted
inserted
replaced
1408:51656beb9996 | 1409:0bc5bd58d9de |
---|---|
130 ok($s, 'connection 2'); | 130 ok($s, 'connection 2'); |
131 | 131 |
132 SKIP: { | 132 SKIP: { |
133 skip 'connection failed', 3 unless $s; | 133 skip 'connection failed', 3 unless $s; |
134 | 134 |
135 local $SIG{PIPE} = 'IGNORE'; | |
136 | |
135 Net::SSLeay::write($ssl, 'GET / HTTP/1.0' . CRLF); | 137 Net::SSLeay::write($ssl, 'GET / HTTP/1.0' . CRLF); |
136 | 138 |
137 ok(Net::SSLeay::renegotiate($ssl), 'renegotiation'); | 139 ok(Net::SSLeay::renegotiate($ssl), 'renegotiation'); |
138 ok(Net::SSLeay::set_tlsext_host_name($ssl, 'localhost'), 'SNI'); | 140 ok(Net::SSLeay::set_tlsext_host_name($ssl, 'localhost'), 'SNI'); |
139 | 141 |