getaddrinfo ip sorting

catam gogu at l.route666.net
Fri Feb 2 02:17:03 GMT 2007


Hi all,

In short: getaddrinfo sort the list of ips if you do not specify ipv4
  in hints (maybe not 100% correct ..but is close:)
Is it a bug that rsync do not pass ipv4 option to getaddrinfo(when 
connecting to remote rsync over socket not rsh)?
I am thinking it would help round robin dns mirrors..
right now rsync will connect to the sorted ip list (even
if is compiled w/o ipv6 OR w/ ipv6 and run w/ --ipv4)

catam


More information about the rsync mailing list