From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juliusz Chroboczek Newsgroups: gmane.emacs.bugs Subject: bug#17976: 24.3; url-retrieve-synchronously doesn't fallback to IPv4 Date: Wed, 09 Jul 2014 14:38:17 +0200 Message-ID: <878uo2ogg6.wl-jch@pps.univ-paris-diderot.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1404909570 24662 80.91.229.3 (9 Jul 2014 12:39:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jul 2014 12:39:30 +0000 (UTC) To: 17976@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 09 14:39:24 2014 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 1X4r9f-00079d-BF for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Jul 2014 14:39:23 +0200 Original-Received: from localhost ([::1]:60233 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4r9e-0001Xb-Jp for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Jul 2014 08:39:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4r9V-0001WP-2c for bug-gnu-emacs@gnu.org; Wed, 09 Jul 2014 08:39:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4r9M-0004h7-7q for bug-gnu-emacs@gnu.org; Wed, 09 Jul 2014 08:39:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4r9M-0004gv-4y for bug-gnu-emacs@gnu.org; Wed, 09 Jul 2014 08:39:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X4r9L-0000vW-80 for bug-gnu-emacs@gnu.org; Wed, 09 Jul 2014 08:39:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juliusz Chroboczek Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Jul 2014 12:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17976 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14049095313542 (code B ref -1); Wed, 09 Jul 2014 12:39:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Jul 2014 12:38:51 +0000 Original-Received: from localhost ([127.0.0.1]:47615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X4r98-0000v3-NP for submit@debbugs.gnu.org; Wed, 09 Jul 2014 08:38:50 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45275) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X4r95-0000uo-J8 for submit@debbugs.gnu.org; Wed, 09 Jul 2014 08:38:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4r8t-0004fH-U8 for submit@debbugs.gnu.org; Wed, 09 Jul 2014 08:38:42 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:57031) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4r8t-0004fD-Ql for submit@debbugs.gnu.org; Wed, 09 Jul 2014 08:38:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4r8n-0001TK-7W for bug-gnu-emacs@gnu.org; Wed, 09 Jul 2014 08:38:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4r8g-0004dd-JQ for bug-gnu-emacs@gnu.org; Wed, 09 Jul 2014 08:38:28 -0400 Original-Received: from korolev.univ-paris7.fr ([2001:660:3301:8000::1:2]:44200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4r8g-0004dH-AA for bug-gnu-emacs@gnu.org; Wed, 09 Jul 2014 08:38:22 -0400 Original-Received: from potemkin.univ-paris7.fr (potemkin.univ-paris7.fr [IPv6:2001:660:3301:8000::1:1]) by korolev.univ-paris7.fr (8.14.4/8.14.4/relay1/46573) with ESMTP id s69CcFAS023069 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 9 Jul 2014 14:38:15 +0200 Original-Received: from mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [81.194.30.253]) by potemkin.univ-paris7.fr (8.14.4/8.14.4/relay2/46573) with ESMTP id s69CcE8v012452 for ; Wed, 9 Jul 2014 14:38:15 +0200 Original-Received: from mailhub.math.univ-paris-diderot.fr (localhost [127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTP id EAD0D2C2191 for ; Wed, 9 Jul 2014 14:38:14 +0200 (CEST) X-Virus-Scanned: amavisd-new at math.univ-paris-diderot.fr Original-Received: from mailhub.math.univ-paris-diderot.fr ([127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id VtBvgGDqENjf for ; Wed, 9 Jul 2014 14:38:10 +0200 (CEST) Original-Received: from ijon.pps.univ-paris-diderot.fr (unknown [78.194.40.74]) (Authenticated sender: jch) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTPSA id 9627C2C218F for ; Wed, 9 Jul 2014 14:38:10 +0200 (CEST) Original-Received: from jch (uid 1000) (envelope-from jch@pps.univ-paris-diderot.fr) id c00177 by ijon.pps.univ-paris-diderot.fr (DragonFly Mail Agent v0.9); Wed, 09 Jul 2014 14:38:17 +0200 User-Agent: Wanderlust/2.15.9 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (korolev.univ-paris7.fr [IPv6:2001:660:3301:8000::1:2]); Wed, 09 Jul 2014 14:38:15 +0200 (CEST) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (potemkin.univ-paris7.fr [194.254.61.141]); Wed, 09 Jul 2014 14:38:15 +0200 (CEST) X-Miltered: at korolev with ID 53BD37B7.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-Miltered: at potemkin with ID 53BD37B6.002 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 53BD37B7.000 from potemkin.univ-paris7.fr/potemkin.univ-paris7.fr/null/potemkin.univ-paris7.fr/ X-j-chkmail-Enveloppe: 53BD37B6.002 from mailhub.math.univ-paris-diderot.fr/mailhub.math.univ-paris-diderot.fr/null/mailhub.math.univ-paris-diderot.fr/ X-j-chkmail-Score: MSGID : 53BD37B7.000 on korolev.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Score: MSGID : 53BD37B6.002 on potemkin.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham X-j-chkmail-Status: Ham X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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:91328 Archived-At: 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 '^]'. On the other hand, url-retrieve-synchronously returns an empty string. Tcpdump shows that it's never even trying IPv4: (with-current-buffer (url-retrieve-synchronously "http://moule.informatique.univ-paris-diderot.fr:8080") (buffer-substring (point-min) (point-max))) "" (with-current-buffer (url-retrieve-synchronously "http://194.254.199.40:8080") (buffer-substring (point-min) (point-max))) "HTTP/1.1 200 OK ..."