[Users] [Bug 3253] all addresses of getaddrinfo() result should be tried

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Tue Aug 18 21:19:02 CEST 2015


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3253

--- Comment #1 from Andrej Kacian <andrej at kacian.sk> ---
Created attachment 1559
  -->
http://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=1559&action=edit
Use getattrinfo instead of gethostbyname

Attached patch attempts to improve the situation by using getaddrinfo() instead
of deprecated gethostbyname(), and trying each resolved address (skipping ipv6
addresses if ipv6 support is disabled).

Of course, review and testing needed, especially by people on ipv6.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Users mailing list