projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19c708d
)
Catch SIGPIPE in TLSProxy::Proxy::clientstart
author
Bernd Edlinger
<bernd.edlinger@hotmail.de>
Sat, 13 Jan 2018 09:24:45 +0000
(10:24 +0100)
committer
Bernd Edlinger
<bernd.edlinger@hotmail.de>
Sat, 13 Jan 2018 14:03:02 +0000
(15:03 +0100)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5071)
(cherry picked from commit
438e57a43f096d37bf316869b98780e24596a5e8
)
util/perl/TLSProxy/Proxy.pm
patch
|
blob
|
history
diff --git
a/util/perl/TLSProxy/Proxy.pm
b/util/perl/TLSProxy/Proxy.pm
index d33637a234b7d7ed6afed8043c53f922489d45c0..70f9bcb45c27eadcd2cc2d10443113ac273bff24 100644
(file)
--- 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) {