From 438e57a43f096d37bf316869b98780e24596a5e8 Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Sat, 13 Jan 2018 10:24:45 +0100 Subject: [PATCH] Catch SIGPIPE in TLSProxy::Proxy::clientstart Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/5071) --- util/perl/TLSProxy/Proxy.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/util/perl/TLSProxy/Proxy.pm b/util/perl/TLSProxy/Proxy.pm index 99b0dedd5b..cc21bd6ac9 100644 --- a/util/perl/TLSProxy/Proxy.pm +++ b/util/perl/TLSProxy/Proxy.pm @@ -294,6 +294,7 @@ sub clientstart #Wait for either the server socket or the client socket to become readable my @ready; my $ctr = 0; + local $SIG{PIPE} = "IGNORE"; while( (!(TLSProxy::Message->end) || (defined $self->sessionfile() && (-s $self->sessionfile()) == 0)) -- 2.25.1