changeset 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 c99c1f43cb15
children a6453cf5786a
files ssl_verify_client.t
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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');