From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#47431: Process Whois connection broken by remote peer. Date: Sun, 28 Mar 2021 20:23:17 +0000 Message-ID: <406246af7fb57420287b@heytings.org> References: <835z1dp0qg.fsf@gnu.org> <83y2e9nhne.fsf@gnu.org> <87zgynp9t5.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17688"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47431@debbugs.gnu.org, hongyi.zhao@gmail.com To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 28 22:24:11 2021 Return-path: Envelope-to: geb-bug-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 1lQbxC-0004Sl-OK for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 Mar 2021 22:24:10 +0200 Original-Received: from localhost ([::1]:43578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQbxB-0006ez-C0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 Mar 2021 16:24:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQbx4-0006ed-AN for bug-gnu-emacs@gnu.org; Sun, 28 Mar 2021 16:24:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35581) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQbx4-00031X-33 for bug-gnu-emacs@gnu.org; Sun, 28 Mar 2021 16:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lQbx3-0002RD-VB for bug-gnu-emacs@gnu.org; Sun, 28 Mar 2021 16:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Mar 2021 20:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47431 X-GNU-PR-Package: emacs Original-Received: via spool by 47431-submit@debbugs.gnu.org id=B47431.16169630059324 (code B ref 47431); Sun, 28 Mar 2021 20:24:01 +0000 Original-Received: (at 47431) by debbugs.gnu.org; 28 Mar 2021 20:23:25 +0000 Original-Received: from localhost ([127.0.0.1]:47127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQbwP-0002QG-OE for submit@debbugs.gnu.org; Sun, 28 Mar 2021 16:23:25 -0400 Original-Received: from heytings.org ([95.142.160.155]:45214) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQbwN-0002Q7-88 for 47431@debbugs.gnu.org; Sun, 28 Mar 2021 16:23:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1616962997; bh=sTqIl9EoNNWWmoJ58t0c8/daYs6BlRUCOKQX9pX7DrI=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=ro1VdDIJo4SmXd7o+ioDsr7Q6uVwFd5PcMsWfkQzAxENcwi96zUZqiSz3jLQsPk0Z qRZgUgw8YEBXjgMJw3gqblj6qaIZCPsrdgbYPgW7trDhtGAbR3ovQxkcODu+4NCMnf bBU+1vTDnDMnf+pRQ6SDgzYMyz8BQtdhdhmVM7j2GBOfsCbiY2GefOHes51mquaxE9 DSZuaVACPGQ9wswYLd2CPvuMNJSOCLQddMfwZ1f65z8PrOsO+Jb9Hyz1ZT2p4ZsHud QIMwKuDB0KnHYCV762xBUcO2rzThDsgBC2ZQGHwMMh+8mV2C1miqRh1bCJqOF0UDo5 x352pIHODog0g== In-Reply-To: <87zgynp9t5.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:203212 Archived-At: >> [2] https://raw.githubusercontent.com/rfc1036/whois/next/tld_serv_list > > The list originates at whois.iana.org... which is a server that seems > to respond to whois queries nicely. So we could just update > whois-server-name to that? And remove whois-server-tld. > That would be ideal/simpler, but whois.iana.org only contains information about the whois server to use for each TLD. For instance whois -h whois.iana.org gnu.org tells you that the whois server to contact is whois.pir.org. IOW, without a built-in list, each whois query would create two requests, one to whois.iana.org, and one to the actual whois server. IOW again, a whois request would become: whois -h $(whois -h whois.iana.org DOMAIN | grep '^whois:' | cut -d: -f2) DOMAIN Would that be acceptable?