From: Matt Caswell Date: Wed, 31 May 2017 09:27:32 +0000 (+0100) Subject: Wait longer for the server in TLSProxy to start X-Git-Tag: OpenSSL_1_1_1-pre1~1407 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=142463c9375efdcdaa4c504f6aaf5bfd61d5ba99;p=oweals%2Fopenssl.git Wait longer for the server in TLSProxy to start In a recent PR (#3566) it seems that TLSProxy gave up trying to connect to the server process too quickly. This meant the test failed even though the server *did* eventually start. Currently we try 3 times to connect with a 0.1 second pause between each attempt. That is probably too aggressive. Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/3587) --- diff --git a/util/TLSProxy/Proxy.pm b/util/TLSProxy/Proxy.pm index 5c363e76ed..c92652e78f 100644 --- a/util/TLSProxy/Proxy.pm +++ b/util/TLSProxy/Proxy.pm @@ -255,7 +255,7 @@ sub clientstart print "Connection opened\n"; # Now connect to the server - my $retry = 3; + my $retry = 10; my $server_sock; #We loop over this a few times because sometimes s_server can take a while #to start up