From bc6614484563f975a380bc97e907ce289036b802 Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Mon, 16 Apr 2018 14:16:26 +0200 Subject: [PATCH] Wait max. 60 seconds for s_client to connect Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/5964) --- util/perl/TLSProxy/Proxy.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/perl/TLSProxy/Proxy.pm b/util/perl/TLSProxy/Proxy.pm index de6d2fdf50..8df0153d24 100644 --- a/util/perl/TLSProxy/Proxy.pm +++ b/util/perl/TLSProxy/Proxy.pm @@ -349,7 +349,7 @@ sub clientstart # Wait for incoming connection from client my $fdset = IO::Select->new($self->{proxy_sock}); - if (!$fdset->can_read(1)) { + if (!$fdset->can_read(60)) { kill(3, $self->{real_serverpid}); die "s_client didn't try to connect\n"; } -- 2.25.1