Commit 8e3f60de authored by Bernd Edlinger's avatar Bernd Edlinger
Browse files

Catch SIGPIPE in TLSProxy::Proxy::clientstart



Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5071)

(cherry picked from commit 438e57a4)
parent 19c708d7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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) {