Question regarding getaddrinfo (soup-dns.c)



Is there any reasons why getaddrinfo is called with the AI_CANONNAME hint? It does not seem that the ai_cannonname is used any way, and it forces a reverse DNS lookup that it seems is not really needed. When the reverse DNS lookup fails, the call to getaddrinfo is blocked until the timeout/attemps expire.
Would it cause any issue if this hint was removed from subsequent libsoup releases?
Thank you,
Christophe


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]