commit | f67214554cfb3117effab1f0b705d027354f4b36 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Jul 07 18:04:38 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jul 07 18:04:38 2015 +0200 |
tree | 5b52946688c36455544440cefa2320ad86bc667c | |
parent | 96a0be78ed1a0d7a473c7f8a301174c3afdc06f6 [diff] |
MINOR: ssl: make self-generated certs also work with raw IPv6 addresses The current method of retrieving the incoming connection's destination address to hash it is not compatible with IPv6 nor the proxy protocol because it directly tries to get an IPv4 address from the socket. Instead we must ask the connection. This is only used when no SNI is provided.