From 8e3f60de0c7d7f34a4d9126e27dd3416d64f2011 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) (cherry picked from commit 438e57a43f096d37bf316869b98780e24596a5e8) --- 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 d33637a234..70f9bcb45c 100644 --- a/util/perl/TLSProxy/Proxy.pm +++ b/util/perl/TLSProxy/Proxy.pm @@ -279,6 +279,7 @@ sub clientstart #Wait for either the server socket or the client socket to become readable my @ready; + local $SIG{PIPE} = "IGNORE"; while(!(TLSProxy::Message->end) && (@ready = $sel->can_read)) { foreach my $hand (@ready) { if ($hand == $server_sock) { -- 2.25.1