Extend timeout for TLSProxy
authorMatt Caswell <matt@openssl.org>
Tue, 16 Jan 2018 15:04:51 +0000 (15:04 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 16 Jan 2018 17:24:36 +0000 (17:24 +0000)
I received this error from a TLSProxy test:

Failed to start up server (localhost,4443): Transport endpoint is not
connected

So, extend the timeout before we give up trying to connect to the server.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5088)

(cherry picked from commit 82992a4130e668c14ff66fca26170629b23c4556)

util/perl/TLSProxy/Proxy.pm

index 70f9bcb45c27eadcd2cc2d10443113ac273bff24..3848135af9184ad44286731afcd7686189309120 100644 (file)
@@ -241,7 +241,7 @@ sub clientstart
     print "Connection opened\n";
 
     # Now connect to the server
-    my $retry = 10;
+    my $retry = 50;
     my $server_sock;
     #We loop over this a few times because sometimes s_server can take a while
     #to start up