Catch SIGPIPE in TLSProxy::Proxy::clientstart
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5071)
This commit is contained in:
parent
8f26f9d581
commit
438e57a43f
1 changed files with 1 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue