[openssl-commits] [openssl] master update

Viktor Dukhovni viktor at openssl.org
Thu Feb 4 02:18:42 UTC 2016


The branch master has been updated
       via  4c35c936618ef31667784f56c7a64552f2ea9fb8 (commit)
      from  ef2499298b26fa84594c8e85fd645bc75179cfdd (commit)


- Log -----------------------------------------------------------------
commit 4c35c936618ef31667784f56c7a64552f2ea9fb8
Author: Viktor Dukhovni <openssl-users at dukhovni.org>
Date:   Wed Feb 3 18:32:25 2016 -0500

    Handle localhost being either 127.0.0.1 or ::1
    
    When connecting to "localhost" the Proxy's choice of client address
    family may not match the server's choice address family.  Without
    MultiHomed => 1, the proxy may try the wrong address family first,
    and give up without trying the other.
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 util/TLSProxy/Proxy.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/util/TLSProxy/Proxy.pm b/util/TLSProxy/Proxy.pm
index dab3d34..283c765 100644
--- a/util/TLSProxy/Proxy.pm
+++ b/util/TLSProxy/Proxy.pm
@@ -261,6 +261,7 @@ sub clientstart
         $server_sock = $IP_factory->(
             PeerAddr => $servaddr,
             PeerPort => $self->server_port,
+            MultiHomed => 1,
             Proto => 'tcp'
         );
 


More information about the openssl-commits mailing list