# HG changeset patch # User Sergey Kandaurov # Date 1493913941 -10800 # Node ID 1a54d45d5587b942dae92404905cc35e1e0b726c # Parent 7e81d47faa0742d4cf27794da28f3a39ec9f3662 Tests: handled SIGPIPE in ssl_sni_reneg.t. diff --git a/ssl_sni_reneg.t b/ssl_sni_reneg.t --- 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');