diff ssl_sni_reneg.t @ 1173:1a54d45d5587

Tests: handled SIGPIPE in ssl_sni_reneg.t.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 04 May 2017 19:05:41 +0300
parents 8ef51dbb5d69
children 0af58b78df35
line wrap: on
line diff
--- a/ssl_sni_reneg.t
+++ b/ssl_sni_reneg.t
@@ -95,6 +95,8 @@ ok($s, 'connection');
 SKIP: {
 skip 'connection failed', 3 unless $s;
 
+local $SIG{PIPE} = 'IGNORE';
+
 Net::SSLeay::write($ssl, 'GET / HTTP/1.0' . CRLF);
 
 ok(Net::SSLeay::renegotiate($ssl), 'renegotiation');