summaryrefslogtreecommitdiffstats
path: root/util/TLSProxy
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-05-31 10:27:32 +0100
committerMatt Caswell <matt@openssl.org>2017-05-31 11:26:49 +0100
commit142463c9375efdcdaa4c504f6aaf5bfd61d5ba99 (patch)
treea35fe4fc7b6fbdd5b2400a3457497596cb598b05 /util/TLSProxy
parent04dec1ab34df70c1588d42cc394e8fa8b5f3191c (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)
Diffstat (limited to 'util/TLSProxy')
-rw-r--r--util/TLSProxy/Proxy.pm2
1 files changed, 1 insertions, 1 deletions
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