From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Asynchronous DNS Date: Tue, 16 Feb 2016 13:26:37 +1100 Message-ID: <8760xpbdb6.fsf@gnus.org> References: <8660xzmyyr.fsf@realize.ch> <87pow7ocyw.fsf@gnus.org> <861t8nmxlj.fsf@realize.ch> <87y4auiurw.fsf@gnus.org> <86k2me8dee.fsf@realize.ch> <83a8n9ddk5.fsf@gnu.org> <864mdh8vj5.fsf@realize.ch> <87pow579kt.fsf@gnus.org> <86ziv87st0.fsf@realize.ch> <87vb5u4qtq.fsf@gnus.org> <86egci6xvk.fsf@realize.ch> <87twldgsrv.fsf@gnus.org> <8637sw7w4m.fsf@realize.ch> <87vb5sdod6.fsf@gnus.org> <83lh6nzvfp.fsf@gnu.org> <87fuwv6ai4.fsf@gnus.org> <86oabi6dts.fsf@realize.ch> <87wpq68u4d.fsf@gnus.org> <8737suwldg.fsf@gnus.org> <83k2m6xmxa.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455589675 27952 80.91.229.3 (16 Feb 2016 02:27:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Feb 2016 02:27:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 16 03:27:45 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 1aVVMF-0001WF-MQ for ged-emacs-devel@m.gmane.org; Tue, 16 Feb 2016 03:27:19 +0100 Original-Received: from localhost ([::1]:38396 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVVME-0000C7-Lu for ged-emacs-devel@m.gmane.org; Mon, 15 Feb 2016 21:27:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVVMA-0000Bh-Jb for emacs-devel@gnu.org; Mon, 15 Feb 2016 21:27:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVVM5-0003kh-Gd for emacs-devel@gnu.org; Mon, 15 Feb 2016 21:27:14 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:42065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVVM5-0003kY-90; Mon, 15 Feb 2016 21:27:09 -0500 Original-Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aVVLe-0001Z7-OQ; Tue, 16 Feb 2016 03:26:43 +0100 In-Reply-To: <83k2m6xmxa.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 15 Feb 2016 12:55:45 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aVVLe-0001Z7-OQ MailScanner-NULL-Check: 1456194404.24075@ZleCG8kkUkY3026MO20LfQ X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 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:200006 Archived-At: Eli Zaretskii writes: > This is needed to set up the various masks that report on the socket > being ready to be read. The file descriptor comes from the socket, so > you cannot set up those masks until you have the socket. Of course, > until you do have a socket, no filter will ever need to be invoked, so > this part of the filter setup could be deferred until the connection > succeeds. Yup. I'll try to refactor that function to do that part of the setup later, after the connection has been established. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no