emacs-devel
[Top][All Lists]
Advanced

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

Re: Asynchronous DNS


From: Lars Ingebrigtsen
Subject: Re: Asynchronous DNS
Date: Sat, 06 Feb 2016 18:49:43 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux)

I kinda think we've gotten as far as we're going to get in this
discussion, and that it's time to merge.

For people who haven't been following this: There's a new value to
:nowait to make-network-process.  If it's `dns', then the DNS is
asynchronous, and there are other rules as how you have to interact with
the process object.  (In short, don't talk to it until it switches
status to "connected".)

There should be no impact on any existing use.  It should be 100%
backward compatible.

(Unless I've created bugs somewhere while refactoring the code, but
that's surely impossible.)

After merging, we can continue to examine the details of the
implementation, and change anything we think doesn't work.

If there are no bugs to be found in the refactored code, I will then
proceed to alter the TLS negotiation code to make it, too, fully
asynchronous (i.e., absolutely no user-visible hangs when calling things
like `(url-retrieve "https://very-slow-site.com/";)').

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]