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: Thu, 04 Feb 2016 18:31:09 +0200 Message-ID: <83y4b0wi7m.fsf@gnu.org> References: <87si1gx6wz.fsf@gnus.org> <86y4b5zvzt.fsf@gmail.com> <8760y9kwrk.fsf@gnus.org> <8760y7nag7.fsf@gnus.org> <83oabzzsjq.fsf@gnu.org> <87fuxazkfe.fsf@gnus.org> <83io25yeqk.fsf@gnu.org> <87h9hpnreg.fsf@gnus.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1454603497 31421 80.91.229.3 (4 Feb 2016 16:31:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2016 16:31:37 +0000 (UTC) Cc: andrewjmoreton@gmail.com, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 04 17:31:36 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 1aRMoh-0000UF-AW for ged-emacs-devel@m.gmane.org; Thu, 04 Feb 2016 17:31:35 +0100 Original-Received: from localhost ([::1]:42774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRMog-0006Pe-Pn for ged-emacs-devel@m.gmane.org; Thu, 04 Feb 2016 11:31:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRMob-0006M7-Cj for emacs-devel@gnu.org; Thu, 04 Feb 2016 11:31:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRMoW-00082d-EH for emacs-devel@gnu.org; Thu, 04 Feb 2016 11:31:29 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRMoW-00082Z-Av; Thu, 04 Feb 2016 11:31:24 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4300 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aRMoV-0003Wg-LX; Thu, 04 Feb 2016 11:31:24 -0500 In-reply-to: <87h9hpnreg.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 04 Feb 2016 13:25:11 +1100) 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:199302 Archived-At: > From: Lars Ingebrigtsen > Cc: andrewjmoreton@gmail.com, emacs-devel@gnu.org > Date: Thu, 04 Feb 2016 13:25:11 +1100 > > > 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... But even then, an application that just specifies this and doesn't make any other changes in the code structure might become broken.