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: Sat, 20 Feb 2016 12:28:15 +1100 Organization: Programmerer Ingebrigtsen Message-ID: <87io1k41cg.fsf@gnus.org> References: <87wpqpjgwy.fsf@gnus.org> <83a8nk1cxk.fsf@gnu.org> <87h9hrnc8x.fsf@gnus.org> <83powfzsqt.fsf@gnu.org> <87y4b393hl.fsf@gnus.org> <83io27ytu3.fsf@gnu.org> <87k2mmzkry.fsf@gnus.org> <83k2mlyet8.fsf@gnu.org> <87lh71nriy.fsf@gnus.org> <8637t8opla.fsf@realize.ch> <871t8skg6c.fsf@gnus.org> <86y4b0n5q2.fsf@realize.ch> <87fux7gb7o.fsf@gnus.org> <83wpqjvd2f.fsf@gnu.org> <87zivfobn4.fsf@gnus.org> <86y4ao5g1c.fsf@realize.ch> <87r3ggdo9f.fsf@gnus.org> <86twlb5yl4.fsf@realize.ch> <83d1rzz1mu.fsf@gnu.org> <86egcc49qu.fsf@realize.ch> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455931723 12880 80.91.229.3 (20 Feb 2016 01:28:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Feb 2016 01:28:43 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 20 02:28:33 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 1aWwLZ-0002Wn-Az for ged-emacs-devel@m.gmane.org; Sat, 20 Feb 2016 02:28:33 +0100 Original-Received: from localhost ([::1]:56955 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWwLY-0005YW-GR for ged-emacs-devel@m.gmane.org; Fri, 19 Feb 2016 20:28:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39373) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWwLU-0005XH-LN for emacs-devel@gnu.org; Fri, 19 Feb 2016 20:28:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWwLR-0001Ji-EU for emacs-devel@gnu.org; Fri, 19 Feb 2016 20:28:28 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:52005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWwLR-0001Jd-7O for emacs-devel@gnu.org; Fri, 19 Feb 2016 20:28:25 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aWwLP-0002OF-Cm for emacs-devel@gnu.org; Sat, 20 Feb 2016 02:28:23 +0100 Original-Received: from 46.156.62.243.tmi.telenormobil.no ([46.156.62.243]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Feb 2016 02:28:23 +0100 Original-Received: from larsi by 46.156.62.243.tmi.telenormobil.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Feb 2016 02:28:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 13 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 46.156.62.243.tmi.telenormobil.no Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:trXuoMdInBONdVInCo8fdt1bt2s= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:200254 Archived-At: I had assumed that getaddrinfo_a would have the normal timeouts that getaddrinfo has -- that it would say that it's failed after a certain number of seconds. Some testing here (switching off the wifi after issuing a DNS request) seems to indicate that that may not be the case? I couldn't find anything in the documentation about this... am I overlooking something? If not, I have to implement some timeouts myself in that code. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no