From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: emacsq Newsgroups: gmane.emacs.help Subject: Re: What does the error "Process not running" mean? Date: Tue, 08 Feb 2022 18:27:31 +0000 Message-ID: References: =?us-ascii?Q?_<6Ox0QxOSiVddeNsCaACeldkV9F-Nh9dM-rRERWveYqhG8t126cIm2MGmadX7Uy8YL-IQX9-Y=3D5F=3D5FZjAwEKArVB5v81UoZWZ7U4=3D5F1R70ywhZZY=3D3D@protonmail.com>__<8jy--UTf4wNbxysxHArjzE3ADfF5mB=3D5FZsfnFd7sgKpf=3D5FGM=3D5F9O5YqVK1PH1QbnoizHbb6HonK-BeQEQx0OpCmSRnMSpJzNTcHHXASGOoiD9I=3D3D@protonmail.com>__<87pmny8nb4.fsf@gnu.org>_<=3D5FcUGEWwwd0FeA1-yUQ5OJfKvG6Y2m4lFHC0m42EOzULv02BYrQMv6BY H-YMsVim1q3G8b3ZNnmPMGB0ZgQP7=3D5F2Ib5vLqAHln3bVDUOqT3eU=3D3D@protonmail.com>__<87pmnx63uy.fsf@gmail.com>_?= Reply-To: emacsq Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21109"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Tassilo Horn , help-gnu-emacs@gnu.org To: Robert Pluim Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 08 21:19:56 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nHWxw-0005In-Bu for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 08 Feb 2022 21:19:56 +0100 Original-Received: from localhost ([::1]:42492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHWxv-00048X-FH for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 08 Feb 2022 15:19:55 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHVDL-0001qb-BA for help-gnu-emacs@gnu.org; Tue, 08 Feb 2022 13:27:43 -0500 Original-Received: from mail-40132.protonmail.ch ([185.70.40.132]:36291) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHVDI-0006lk-VM for help-gnu-emacs@gnu.org; Tue, 08 Feb 2022 13:27:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1644344852; bh=u4otXdrAcPlpkLJylK+jB6sRP32haPnvhjmQSh+zPrM=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=ohsIa26IM1cWwhisY13z5xRxFAUsJnWhxD0c/w9O8xYM0Paqqx/c2jUu1bhcJ7yu4 nWJ3mrlDXQBDrl+Je2RmWzm5mmUPs8S2L7iPdw0Q5HqznodH07WLlhqDIwFCNF0TUf qiS7FCpMOFQQoX9zQ0nzt3JN7sDG380vI4mu/v8OFkwUSFFugyVDcf2N6rqcgPw+OL nR/PtOTEAVt3zf4tistLOG6j4vbC6KgRakoc2Wr/iQGN60GnOXspM9NhxB1aG9xE/1 f5OZ6il2j63HIE7H+853bUcv1p0+ANV8nhpGI7Ny7X+vJM4gWttnhWLKeSmqELyYMs iVs+pDbNiXIlw== In-Reply-To: Received-SPF: pass client-ip=185.70.40.132; envelope-from=laszlomail@protonmail.com; helo=mail-40132.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135848 Archived-At: > I think both are desirable: I think even under POSIX systems it makes sense to bound the number of connections we keep open But it's not just letting connections linger, url-http has a mechanism to store open connections in a hash and reusing them: https://github.com/emacs-mirror/emacs/blob/3af9e84ff59811734dcbb5d55e04e1fd= b7051e77/lisp/url/url-http.el#L174 Does someone here know what the point of this was? Is quick repeated http connections to the same host:port such a frequent use case that it's worth it to keep open http connections in a hash, instead of closing and disposing them when the request ends?