From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex Dunn Newsgroups: gmane.emacs.devel Subject: Re: Asynchronous DNS Date: Fri, 29 Jan 2016 18:39:30 -0800 Message-ID: References: <87si1gx6wz.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454121604 31095 80.91.229.3 (30 Jan 2016 02:40:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Jan 2016 02:40:04 +0000 (UTC) To: Lars Ingebrigtsen , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 30 03:39:56 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 1aPLS7-0003fb-UY for ged-emacs-devel@m.gmane.org; Sat, 30 Jan 2016 03:39:56 +0100 Original-Received: from localhost ([::1]:37420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPLS6-0003YK-IT for ged-emacs-devel@m.gmane.org; Fri, 29 Jan 2016 21:39:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPLRq-0003Wd-DT for emacs-devel@gnu.org; Fri, 29 Jan 2016 21:39:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPLRm-00059r-Cw for emacs-devel@gnu.org; Fri, 29 Jan 2016 21:39:38 -0500 Original-Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]:34675) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPLRm-00059n-5s for emacs-devel@gnu.org; Fri, 29 Jan 2016 21:39:34 -0500 Original-Received: by mail-pa0-x232.google.com with SMTP id uo6so51362035pac.1 for ; Fri, 29 Jan 2016 18:39:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-type; bh=4u8YvJRmsfl9s/LDwtM2jBCJk+uNEb7fRbqkvEEhzMw=; b=mAb4JyFvDHeFfcf7WStTWmDHkdI74lKE1kOja4wh2aTJ4tPI+gMYClfvxTSCGB7iVd Bs5e3xAjqj1FIcOre8hZkYu0BEerUmTc3rDmzOj8Sltf9EK+WYaXRyA8njBto/Ude1dY 3cWwIp7LRb7qW+L+JOIqmKGDuoihzh7nWbUdfeSIRqwnlA0EOp5f7wI/rdDonT73CBM6 tXMpCiINOpLttXU9tsgJqjPMgZUMosHtDTLLapnZTNhN1/B/GyBwZROOckbE9AE/LhFu zZvFtXlrWDq2fqd05m4zX2I2QI/vqc2Y020F6OFbVeugNP6e0ZvyqGs2Pl7c+Wg/sDpc eXcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-type; bh=4u8YvJRmsfl9s/LDwtM2jBCJk+uNEb7fRbqkvEEhzMw=; b=FknXvuHfn93ZAbpG55PPxC/kXuPGiGCqF7b38ggsiw5Iohu/I8gXQF/UmVp9NINCKx GS+zWpjhnHE+IB5v0st9/TTjQsmF3prW/lvtc/kENM6CM1I6nduzmVbTNYa4v98XKgRS obxW3DBTXKYz4E35n4tWCs69n3PXk4P9OHxqq+3lZvGRWTlytJDnXlqNTB8dLLDl/Bpj xeLzEEZIA6FS0AcHkgeNZjUqTgXeghmjdyFCNuSHZ+j/iKO9QXYYvD/Ku9rhheQpyZ+g 75glVmIlgR1rc7NI3WhDBZzP/KLoWr/1f23USabnn0hnOU6eWe1y4V+FW3BR66CPdPl4 yk8Q== X-Gm-Message-State: AG10YOSXQwSztACjgWotpFi0YcQWpp1LTS/TzASKFEe4w0Drdc1FtlfdRyGqJ3MlG2YYHQ== X-Received: by 10.66.156.195 with SMTP id wg3mr18675587pab.54.1454121572974; Fri, 29 Jan 2016 18:39:32 -0800 (PST) Original-Received: from localhost (pool-98-108-240-213.snloca.dsl-w.verizon.net. [98.108.240.213]) by smtp.gmail.com with ESMTPSA id q142sm26380549pfq.82.2016.01.29.18.39.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Jan 2016 18:39:32 -0800 (PST) In-Reply-To: <87si1gx6wz.fsf@gnus.org> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/25.0.50.1 (x86_64-apple-darwin15.3.0) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c03::232 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:199018 Archived-At: The build is failing for me on Mac OS 10.11.3: https://gist.github.com/dunn/ffca0bcfbf97d57d9c7d#file-03-make-L426-L451 Lars Ingebrigtsen writes: > 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... > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no