From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: [RFC] automatically retrying network connections Date: Fri, 20 Jul 2018 22:06:44 +0200 Message-ID: <87sh4dfz8r.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1532117093 18263 195.159.176.226 (20 Jul 2018 20:04:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 20 Jul 2018 20:04:53 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 20 22:04:49 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgbdv-0004eb-NH for ged-emacs-devel@m.gmane.org; Fri, 20 Jul 2018 22:04:47 +0200 Original-Received: from localhost ([::1]:49617 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgbg2-0005RO-Ko for ged-emacs-devel@m.gmane.org; Fri, 20 Jul 2018 16:06:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgbfw-0005RJ-Pg for emacs-devel@gnu.org; Fri, 20 Jul 2018 16:06:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgbfr-0000uR-Nt for emacs-devel@gnu.org; Fri, 20 Jul 2018 16:06:52 -0400 Original-Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:37643) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fgbfr-0000tm-GY for emacs-devel@gnu.org; Fri, 20 Jul 2018 16:06:47 -0400 Original-Received: by mail-wm0-x229.google.com with SMTP id a19-v6so10849136wmb.2 for ; Fri, 20 Jul 2018 13:06:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:mail-followup-to:mail-copies-to:gmane-reply-to-list :date:message-id:mime-version:content-transfer-encoding; bh=yyCd4+b7TzKKsuxwO7D9PDlZz+tLJnMRD1PWPjXzA1U=; b=iXIP3YQVTk8fJPDgYMS2ZkDNafqJc8u9cyRlVNPfasDKQa4ZtWbUubRfuRelmeaTzO dHyJcyzluVrAPYpg+Hzzg6Q88iASbWhFDI2Klb1pgwByrb1z70Sy6auol3eLTOhzcrKl Adpfr5peCv7GMl5zQKXCZHu6fS2n4xLrYOkIPLOQbKZ5dnW0Pn3MgiA9zCwuu8Tjvpgu w/PUuWkYaJQzmZ8vfVt6MKGxSUTLs5xsltauFGhpc0O3P4G0ifuWLGyp7iG91M//n+rm F9kIQpqDL5WIAlMHhOJXj5bc4TsHhRvr9z4fRrHZwWjJCiJda0VZWcmJnai6gwU5SoIr oQlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:message-id:mime-version :content-transfer-encoding; bh=yyCd4+b7TzKKsuxwO7D9PDlZz+tLJnMRD1PWPjXzA1U=; b=D6WHgFNDKQeJWv+hZ7B+v/hDnnlUV69a3c62httI3+1WByuI1QX9nMA34h2RmkWlmp AwQHfvcFEjfIafZtyyfk8flxa3/Lppa7VVfARHj6BXIKYpcCA22VfIkYj5A7zq+PMXMw mzn9C156T1q7MYlMO4Mf8GSBpxkLIScHHL5wkbExEF9OG+Ho23l1YgekBg9R4Pe3XJFK +8hwoz99Q717WGrIf8QA6qjGrSWJ0L2BPf8rZbStCJPXdlDjrjhTYP4NzAmxR+L6Jaza jMSpvB4iCOeH597fu4qLjz0HE/YC77DNaFapE1WKtdjIzkujPhS09rigleXipwKY7yUF bt4Q== X-Gm-Message-State: AOUpUlG5d0wCPLaE/XwP9Gw6QbHzIfjeXJgiNa+oMV5NUCdVpJF/fGbm N61gbH7QQKlKDm6bRPyv6zudtPPi X-Google-Smtp-Source: AAOMgpcoRL04Fvh7FMFSz5V10JK4Eu/refA5WbsF8A2aiGvQW3yfWLfNfrYu0g2oSsbV4dI1ZA+27A== X-Received: by 2002:a1c:5e48:: with SMTP id s69-v6mr2264377wmb.19.1532117206177; Fri, 20 Jul 2018 13:06:46 -0700 (PDT) Original-Received: from rpluim-ubuntu (vav06-1-78-207-202-134.fbx.proxad.net. [78.207.202.134]) by smtp.gmail.com with ESMTPSA id e7-v6sm4269544wrm.14.2018.07.20.13.06.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Jul 2018 13:06:45 -0700 (PDT) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:227595 Archived-At: Hi, one of the consequences of asking the user questions during network connection setup is that the server they're trying to connect to might have decided to close the connection by the time they've finished answering. This suggests that there should be an option to retry the connection in such a situation. I have a trial implementation involving a new parameter to open-network-stream to request retrying, but was wondering if it might not be better if it was a globally enabled default. I=CA=BCll note that various browsers retry failing connections automatically. Thanks Robert