mirror of
https://github.com/openssl/openssl.git
synced 2025-01-27 04:14:10 +08:00
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@openssl.org>
This commit is contained in:
parent
ef2499298b
commit
4c35c93661
@ -261,6 +261,7 @@ sub clientstart
|
||||
$server_sock = $IP_factory->(
|
||||
PeerAddr => $servaddr,
|
||||
PeerPort => $self->server_port,
|
||||
MultiHomed => 1,
|
||||
Proto => 'tcp'
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user