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: Wed, 10 Feb 2016 10:22:42 +1100 Message-ID: <87pow579kt.fsf@gnus.org> References: <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> <861t8nmxlj.fsf@realize.ch> <87y4auiurw.fsf@gnus.org> <86k2me8dee.fsf@realize.ch> <83a8n9ddk5.fsf@gnu.org> <864mdh8vj5.fsf@realize.ch> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455060225 12517 80.91.229.3 (9 Feb 2016 23:23:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Feb 2016 23:23:45 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Alain Schneble Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 10 00:23:35 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 1aTHd9-00070E-KY for ged-emacs-devel@m.gmane.org; Wed, 10 Feb 2016 00:23:35 +0100 Original-Received: from localhost ([::1]:33487 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTHd8-0004uj-OE for ged-emacs-devel@m.gmane.org; Tue, 09 Feb 2016 18:23:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTHcs-0004rF-Bc for emacs-devel@gnu.org; Tue, 09 Feb 2016 18:23:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTHcn-0003ok-3y for emacs-devel@gnu.org; Tue, 09 Feb 2016 18:23:18 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:48537) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTHcm-0003mH-U6; Tue, 09 Feb 2016 18:23:13 -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 1aTHcO-0004vo-AN; Wed, 10 Feb 2016 00:22:48 +0100 In-Reply-To: <864mdh8vj5.fsf@realize.ch> (Alain Schneble's message of "Tue, 9 Feb 2016 21:43:10 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aTHcO-0004vo-AN MailScanner-NULL-Check: 1455664969.25552@javeJFeF08Miir1bK4EJuA 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:199642 Archived-At: Alain Schneble writes: > - Current (Lisp) API won't change at all. No need to extend :nowait. > Current semantics of nil and t remain. We do not introduce any new > idioms or configurations (e.g. that would be the case with 'immediate) > that we might regret in the future. It should be fully backward > compatible. Well, process-send on a newly made make-network-connection :nowait t will no longer fail, which is an API change. :-) > Did I miss something? The only thing missing is whether to have a new state for TLS connections. When you've asked for a TLS connection, all these commands should block until TLS has been negotiated, too. We can have the TLS commands check for that explicitly (which makes the blocking :nowait users happy), but we also need a way to tell the non-blocking :nowait users that the connection is now ready for non-blocking usage. We could just leave the connection in 'connecting state, perhaps... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no