From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#17976: 24.3; url-retrieve-synchronously doesn't fallback to IPv4 Date: Fri, 25 Dec 2015 22:43:24 +0200 Message-ID: <83si2qjm37.fsf@gnu.org> References: <878uo2ogg6.wl-jch@pps.univ-paris-diderot.fr> <87poxu2rpn.fsf@gnus.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1451076206 25181 80.91.229.3 (25 Dec 2015 20:43:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Dec 2015 20:43:26 +0000 (UTC) Cc: 17976@debbugs.gnu.org, jch@pps.univ-paris-diderot.fr To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 25 21:43:15 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1aCZCk-0006TF-CX for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Dec 2015 21:43:14 +0100 Original-Received: from localhost ([::1]:36405 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCZCj-0000O4-Mb for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Dec 2015 15:43:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCZCd-0000Lp-D6 for bug-gnu-emacs@gnu.org; Fri, 25 Dec 2015 15:43:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCZCZ-0007WN-2Z for bug-gnu-emacs@gnu.org; Fri, 25 Dec 2015 15:43:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCZCY-0007WJ-V2 for bug-gnu-emacs@gnu.org; Fri, 25 Dec 2015 15:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aCZCY-0004XZ-Qy for bug-gnu-emacs@gnu.org; Fri, 25 Dec 2015 15:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Dec 2015 20:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17976 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 17976-submit@debbugs.gnu.org id=B17976.145107617717434 (code B ref 17976); Fri, 25 Dec 2015 20:43:02 +0000 Original-Received: (at 17976) by debbugs.gnu.org; 25 Dec 2015 20:42:57 +0000 Original-Received: from localhost ([127.0.0.1]:35477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCZCP-0004X4-Lk for submit@debbugs.gnu.org; Fri, 25 Dec 2015 15:42:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53918) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCZCN-0004Wo-OJ for 17976@debbugs.gnu.org; Fri, 25 Dec 2015 15:42:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCZCD-0007VB-OU for 17976@debbugs.gnu.org; Fri, 25 Dec 2015 15:42:46 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59725) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCZCD-0007V7-LG; Fri, 25 Dec 2015 15:42:41 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4031 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aCZCC-0007AP-Up; Fri, 25 Dec 2015 15:42:41 -0500 In-reply-to: <87poxu2rpn.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 25 Dec 2015 21:33:56 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:110440 Archived-At: > From: Lars Ingebrigtsen > Date: Fri, 25 Dec 2015 21:33:56 +0100 > Cc: 17976@debbugs.gnu.org > > Juliusz Chroboczek writes: > > > My machine has both IPv6 and IPv4. I'm accessing a server that has both > > IPv6 and IPv4, but whose web server listens on IPv4 only. The web server > > is doing the right thing, sending RST upon IPv6 connection attempts. Wget > > and telnet do the right thing, they fallback to IPv4: > > > > $ telnet moule.informatique.univ-paris-diderot.fr 8080 > > Trying 2001:660:3301:8070::40... > > Trying 194.254.199.40... > > Connected to moule.informatique.univ-paris-diderot.fr. > > Escape character is '^]'. > > Perhaps this should be a general network connection thing? If by "general network connection" you mean on the C level in process.c, then no, I don't think so. Protocol-specific code is not there, it's above that in Lisp. IMO, url*.el is where this should be handled.