From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Asynchronous DNS Date: Sat, 30 Jan 2016 09:23:58 +0200 Message-ID: <8360yby1gx.fsf@gnu.org> References: <87si1gx6wz.fsf@gnus.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1454138686 11229 80.91.229.3 (30 Jan 2016 07:24:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Jan 2016 07:24:46 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 30 08:24:42 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aPPtg-0001f5-QS for ged-emacs-devel@m.gmane.org; Sat, 30 Jan 2016 08:24:40 +0100 Original-Received: from localhost ([::1]:37787 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPPtf-0001dJ-Td for ged-emacs-devel@m.gmane.org; Sat, 30 Jan 2016 02:24:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPPtZ-0001cy-8v for emacs-devel@gnu.org; Sat, 30 Jan 2016 02:24:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPPtU-00042g-GE for emacs-devel@gnu.org; Sat, 30 Jan 2016 02:24:33 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPPtU-00042c-Cx; Sat, 30 Jan 2016 02:24:28 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1195 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aPPtT-0002sK-Og; Sat, 30 Jan 2016 02:24:28 -0500 In-reply-to: <87si1gx6wz.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 30 Jan 2016 01:11:40 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:199024 Archived-At: > From: Lars Ingebrigtsen > Date: Sat, 30 Jan 2016 01:11:40 +0100 > > Async DNS has now been implemented in the feature/async-dns branch, and > I'm running that Emacs right now. And it works! I mean, eww no longer > gets those awkward pauses when resolving DNS names of image assets. > Whee! Or placebo! Whee! > > There's quite a bit of cleanup remaining, though, and I'm probably > leaking memory ... somewhere... And I'm not really happy with the way > I'm doing the polling, which required another process array in addition > to the chan_process table. Surely a better way must exist, but the > process isn't entered into the chan_process table until the socket has > been created, and we can't create the socket before we've done the name > resolution, because we don't know whether it's going to be an IPv4 > address or an IPv6 address. > > If anybody else wants to start fiddling with the stuff, be my guest. > :-) But I'm going to continue tinkering with it on the branch, and will > probably merge with the trunk in a few days. It would be nice if people > on non-Linux systems could check whether it builds at all on those > systems before I do the merge... Please also be sure to update the documentation for the new features. Thanks.