[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ai_flags in calls to getaddrinfo
From: |
Lars Ingebrigtsen |
Subject: |
Re: ai_flags in calls to getaddrinfo |
Date: |
Fri, 01 Jan 2021 11:59:37 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> Adding the AI_V4MAPPED flag, as in the patch below, seems to solve the
> problem. So I wonder why we don't do this in general. I'm not an
> expert on DNS, so would people who know more than I do about this
> please comment on whether the patch below is a good idea?
I think that when the user asks for ipv6 explicitly, they should get
back ipv6 (or get nothing/a failure). If the user has specified the
protocol, it's presumably because they really want that protocol.
If they don't specify the protocol version, they get back either/both
ipv6/ipv4 now (depending on the system), don't they?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: ai_flags in calls to getaddrinfo, Eli Zaretskii, 2021/01/01
- Re: ai_flags in calls to getaddrinfo,
Lars Ingebrigtsen <=
- Re: ai_flags in calls to getaddrinfo, Eli Zaretskii, 2021/01/03
- Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check, Robin Tarsiger, 2021/01/11
- Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check, Robert Pluim, 2021/01/11
- Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check, Eli Zaretskii, 2021/01/11
- Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check, Robert Pluim, 2021/01/11
- Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check, Eli Zaretskii, 2021/01/11
- Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check, Robin Tarsiger, 2021/01/11
- Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check, Robert Pluim, 2021/01/11