diff options
author | Matt Caswell <matt@openssl.org> | 2017-05-31 10:27:32 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-05-31 11:32:50 +0100 |
commit | 1bbbc5731afa4751597ce42a7410c77ff4fbe306 (patch) | |
tree | 32395ae10026ca861771d470b4db58431936a9dd /util | |
parent | aaa3c7ce4792e5c562e56d8202de196e430d9654 (diff) |
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 <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3587)
(cherry picked from commit 142463c9375efdcdaa4c504f6aaf5bfd61d5ba99)
Diffstat (limited to 'util')
-rw-r--r-- | util/TLSProxy/Proxy.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/TLSProxy/Proxy.pm b/util/TLSProxy/Proxy.pm index 141cf53982..8742ac7a9d 100644 --- a/util/TLSProxy/Proxy.pm +++ b/util/TLSProxy/Proxy.pm @@ -240,7 +240,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 |