[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Asynchronous DNS
From: |
Lars Ingebrigtsen |
Subject: |
Re: Asynchronous DNS |
Date: |
Thu, 04 Feb 2016 13:25:11 +1100 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
> We could remove these sanity checks (in this and many other
> process-related APIs), they are not strictly necessary, at least not
> in that function, AFAICS.
We could, and that would give us a better socket interface in the long
term, I think. That is, no callers would have to care what level of
asynchronous socket we're setting up. But I think that that's probably
a lot of work.
> But I think a better approach is to make all those APIs that check or
> need a fully-functional process object to wait for DNS completion
> before they proceed. That would be fully backward-compatible, at the
> price that the callers will need to be changed to actually take
> advantage of this feature. Which I think is a Good Thing, because for
> any application code that wants the async DNS we need a human to
> seriously consider all the implications and modify the code
> accordingly. Evidently, this isn't something that can be
> transparently changed under the hood.
Yup. I'll change make-network-address to only do async DNS when :nowait
is 'dns, I think...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Asynchronous DNS, Andy Moreton, 2016/02/01
- Re: Asynchronous DNS, Eli Zaretskii, 2016/02/01
- Re: Asynchronous DNS, Lars Ingebrigtsen, 2016/02/01
- Re: Asynchronous DNS, YAMAMOTO Mitsuharu, 2016/02/01
- Re: Asynchronous DNS, Eli Zaretskii, 2016/02/01
- Re: Asynchronous DNS, Lars Ingebrigtsen, 2016/02/02
- Re: Asynchronous DNS, Lars Ingebrigtsen, 2016/02/02
- Re: Asynchronous DNS, Eli Zaretskii, 2016/02/03
- Re: Asynchronous DNS,
Lars Ingebrigtsen <=
- Re: Asynchronous DNS, Eli Zaretskii, 2016/02/04
- Re: Asynchronous DNS, Lars Ingebrigtsen, 2016/02/04
- Re: Asynchronous DNS, Eli Zaretskii, 2016/02/05
- Re: Asynchronous DNS, Lars Ingebrigtsen, 2016/02/05
- Re: Asynchronous DNS, Lars Ingebrigtsen, 2016/02/06
- Re: Asynchronous DNS, Eli Zaretskii, 2016/02/06
- Re: Asynchronous DNS, Alain Schneble, 2016/02/06
- Re: Asynchronous DNS, Lars Ingebrigtsen, 2016/02/06
- Re: Asynchronous DNS, Alain Schneble, 2016/02/07
- Re: Asynchronous DNS, Eli Zaretskii, 2016/02/07