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: Thu, 10 Jul 2014 22:54:14 +0200 Message-ID: <87lhs1aqa1.wl-jch@pps.univ-paris-diderot.fr> References: <878uo2ogg6.wl-jch@pps.univ-paris-diderot.fr> <87fvianut6.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 1405025735 2381 80.91.229.3 (10 Jul 2014 20:55:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jul 2014 20:55:35 +0000 (UTC) Cc: 17976@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 10 22:55:28 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 1X5LNF-00074E-Sp for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Jul 2014 22:55:26 +0200 Original-Received: from localhost ([::1]:40182 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5LNF-0002QZ-Fc for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Jul 2014 16:55:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5LN2-0002N6-Ee for bug-gnu-emacs@gnu.org; Thu, 10 Jul 2014 16:55:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5LMt-0006RE-Hg for bug-gnu-emacs@gnu.org; Thu, 10 Jul 2014 16:55:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37809) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5LMt-0006R0-ED for bug-gnu-emacs@gnu.org; Thu, 10 Jul 2014 16:55:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X5LMs-0001BX-Px for bug-gnu-emacs@gnu.org; Thu, 10 Jul 2014 16:55: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: Thu, 10 Jul 2014 20:55: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: Original-Received: via spool by 17976-submit@debbugs.gnu.org id=B17976.14050256594489 (code B ref 17976); Thu, 10 Jul 2014 20:55:02 +0000 Original-Received: (at 17976) by debbugs.gnu.org; 10 Jul 2014 20:54:19 +0000 Original-Received: from localhost ([127.0.0.1]:52608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X5LM6-0001AB-Tn for submit@debbugs.gnu.org; Thu, 10 Jul 2014 16:54:19 -0400 Original-Received: from korolev.univ-paris7.fr ([194.254.61.138]:40453) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X5LLz-00019t-QC for 17976@debbugs.gnu.org; Thu, 10 Jul 2014 16:54:12 -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 s6AKs6BD000485 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <17976@debbugs.gnu.org>; Thu, 10 Jul 2014 22:54:06 +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 s6AKs66Q029324 for <17976@debbugs.gnu.org>; Thu, 10 Jul 2014 22:54:06 +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 6D2662C2FAD for <17976@debbugs.gnu.org>; Thu, 10 Jul 2014 22:54:06 +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 mNZC7nP3PB3s for <17976@debbugs.gnu.org>; Thu, 10 Jul 2014 22:54:05 +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 5D44F2C2FAC for <17976@debbugs.gnu.org>; Thu, 10 Jul 2014 22:54:05 +0200 (CEST) Original-Received: from jch (uid 1000) (envelope-from jch@pps.univ-paris-diderot.fr) id c002ac by ijon.pps.univ-paris-diderot.fr (DragonFly Mail Agent v0.9); Thu, 10 Jul 2014 22:54:14 +0200 In-Reply-To: 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]); Thu, 10 Jul 2014 22:54:06 +0200 (CEST) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (potemkin.univ-paris7.fr [194.254.61.141]); Thu, 10 Jul 2014 22:54:06 +0200 (CEST) X-Miltered: at korolev with ID 53BEFD6E.001 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-Miltered: at potemkin with ID 53BEFD6E.001 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 53BEFD6E.001 from potemkin.univ-paris7.fr/potemkin.univ-paris7.fr/null/potemkin.univ-paris7.fr/ X-j-chkmail-Enveloppe: 53BEFD6E.001 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 : 53BEFD6E.001 on korolev.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Score: MSGID : 53BEFD6E.001 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-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:91413 Archived-At: Here's a trace (edited to remove irrelevant stuff). I'm only guessing, but to my untrained eyes it looks like the code around process.c:4920. -- Juliusz socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP) = 13 fcntl(13, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 connect(13, {sa_family=AF_INET6, sin6_port=htons(8080), inet_pton(AF_INET6, "2001:660:3301:8070::40", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 EINPROGRESS (Operation now in progress) getsockname(13, {sa_family=AF_INET6, sin6_port=htons(33826), inet_pton(AF_INET6, "2a01:e34:ec22:84a0::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0 fcntl(13, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 pselect6(14, [12], [13], NULL, {1957, 16494001}, {NULL, 8}) = 1 (out [13], left {1957, 10004292}) getsockopt(13, SOL_SOCKET, SO_ERROR, [111], [4]) = 0 close(13) = 0