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: Tue, 09 Feb 2016 18:56:19 +0200 Message-ID: <83d1s5ddqk.fsf@gnu.org> References: <8760y9kwrk.fsf@gnus.org> <8760y7nag7.fsf@gnus.org> <83oabzzsjq.fsf@gnu.org> <87fuxazkfe.fsf@gnus.org> <83io25yeqk.fsf@gnu.org> <87h9hpnreg.fsf@gnus.org> <83y4b0wi7m.fsf@gnu.org> <87si17evk6.fsf@gnus.org> <83twlnvcz2.fsf@gnu.org> <87vb63obm3.fsf@gnus.org> <87r3gqmg6g.fsf@gnus.org> <83egcqtfnm.fsf@gnu.org> <86mvrdmk8p.fsf@realize.ch> <877fihjo4m.fsf@gnus.org> <86io20n3xn.fsf@realize.ch> <8760y055l1.fsf@gnus.org> <8660xzmyyr.fsf@realize.ch> <87pow7ocyw.fsf@gnus.org> <83zivboyx5.fsf@gnu.org> <87pow6iube.fsf@gnus.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1455037025 12512 80.91.229.3 (9 Feb 2016 16:57:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Feb 2016 16:57:05 +0000 (UTC) Cc: a.s@realize.ch, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 09 17:56:44 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 1aTBak-0008Bs-Tu for ged-emacs-devel@m.gmane.org; Tue, 09 Feb 2016 17:56:43 +0100 Original-Received: from localhost ([::1]:58152 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTBak-00007Q-7K for ged-emacs-devel@m.gmane.org; Tue, 09 Feb 2016 11:56:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTBaf-00006e-4F for emacs-devel@gnu.org; Tue, 09 Feb 2016 11:56:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTBab-0001SO-3m for emacs-devel@gnu.org; Tue, 09 Feb 2016 11:56:37 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43924) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTBab-0001SK-02; Tue, 09 Feb 2016 11:56:33 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1247 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aTBaa-0003yc-A5; Tue, 09 Feb 2016 11:56:32 -0500 In-reply-to: <87pow6iube.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 09 Feb 2016 11:47:01 +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:199611 Archived-At: > From: Lars Ingebrigtsen > Cc: a.s@realize.ch, emacs-devel@gnu.org > Date: Tue, 09 Feb 2016 11:47:01 +1100 > > Do you think that > > (process-send-string (make-network-process ... :nowait t) "foo") > > shouldn't signal an error? Yes, I do. > It currently does. I'm not sure that's the right decision, but I > think I'm leaning towards thinking that that's more helpful than > blocking and pretending nothing's wrong... I think it's just an accident. When these APIs were originally written, computers were sufficiently slow as to have the connection completed by the time any other API is called. Computers got much faster since then, so we will see more and more of these errors. (I'm quite sure I see them in smtpmail from time to time, because I use a very distant SMTP server.)