[PATCH] Use getaddrinfo() with AI_CANONNAME flag to resolve canonical name in SSPI authentication code

Ivan Zhakov ivan at visualsvn.com
Tue Jul 12 04:29:18 EDT 2011

On Tue, Jun 7, 2011 at 18:49, Ivan Zhakov <ivan at visualsvn.com> wrote:
> Hi,
> We found that neon can freeze for several seconds when trying to do
> reverse lookup to resolve canonical name to build SPN name for SSPI
> authentication, when reverse lookup is not configured on DNS. The
> better way to resolve canonical hostname is to use getaddrinfo()
> function with AI_CANNONNAME flag. The attached patch fixes this issue.
> PS: getaddrinfo() is already available since Windows 2000.
Ping? Any chance to get this patch reviewed and committed?

Ivan Zhakov

More information about the neon mailing list