]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: tools: do not force an unresolved address to AF_INET:0.0.0.0
authorWilly Tarreau <w@1wt.eu>
Fri, 6 Jan 2017 18:23:20 +0000 (19:23 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 11 Jan 2017 11:44:33 +0000 (12:44 +0100)
commit7b760c9c80f9f1be426d011f8228eb58343dc420
tree45ad8f48b6adda22e6d13c958cf0769f087b42b2
parent9698f4b295a5429a5341bfe633a6eb8d386f6182
BUG/MEDIUM: tools: do not force an unresolved address to AF_INET:0.0.0.0

This prevents DNS from resolving IPv6-only servers in 1.7. Note, this
patch depends on the previous series :

  1. BUG/MINOR: tools: fix off-by-one in port size check
  2. BUG/MEDIUM: server: consider AF_UNSPEC as a valid address family
  3. MEDIUM: server: split the address and the port into two different fields
  4. MINOR: tools: make str2sa_range() return the port in a separate argument
  5. MINOR: server: take the destination port from the port field, not the addr
  6. MEDIUM: server: disable protocol validations when the server doesn't resolve

This fix (hence the whole series) must be backported to 1.7.
src/standard.c