diff ssl_verify_client.t @ 1207:b1dc56ad15e9

Tests: ignore SIGPIPE in ssl_verify_client.t.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 11 Aug 2017 17:06:46 +0300
parents 8ef51dbb5d69
children 0af58b78df35
line wrap: on
line diff
--- a/ssl_verify_client.t
+++ b/ssl_verify_client.t
@@ -145,6 +145,8 @@ like(get('optional', undef, 'localhost')
 sub get {
 	my ($sni, $cert, $host) = @_;
 
+	local $SIG{PIPE} = 'IGNORE';
+
 	$host = $sni if !defined $host;
 
 	my $dest_ip = inet_aton('127.0.0.1');