From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fran Litterio Newsgroups: gmane.emacs.bugs Subject: bug#23658: 25.1.50; make-network-connection fails to connect to IPv6 address on Windows Date: Sun, 5 Jun 2016 15:04:56 +0000 (UTC) Message-ID: References: <87d1o3yty2.fsf@gmail.com> <240c188a-bfeb-a8f6-2e6d-fe6c90e37072@cornell.edu> <36e6ff49-8a24-b973-048f-c27fe58c7f93@cornell.edu> <778c3c88-8eb0-d54c-e00a-84165f5c63b5@cornell.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1465139186 22153 80.91.229.3 (5 Jun 2016 15:06:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Jun 2016 15:06:26 +0000 (UTC) To: 23658@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 05 17:06:15 2016 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 1b9Zd1-00071s-04 for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Jun 2016 17:06:15 +0200 Original-Received: from localhost ([::1]:37501 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9Zd0-0008HF-5R for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Jun 2016 11:06:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9Zct-0008H7-Nk for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2016 11:06:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b9Zco-0004Kw-KR for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2016 11:06:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9Zco-0004Ks-HC for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2016 11:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b9Zco-0000IF-9e for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2016 11:06:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87d1o3yty2.fsf@gmail.com> Resent-From: Fran Litterio Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Jun 2016 15:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23658 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.14651391291085 (code B ref -1); Sun, 05 Jun 2016 15:06:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Jun 2016 15:05:29 +0000 Original-Received: from localhost ([127.0.0.1]:55701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9ZcD-0000HM-73 for submit@debbugs.gnu.org; Sun, 05 Jun 2016 11:05:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9ZcB-0000HA-Dy for submit@debbugs.gnu.org; Sun, 05 Jun 2016 11:05:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b9Zc5-0004AH-52 for submit@debbugs.gnu.org; Sun, 05 Jun 2016 11:05:18 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9Zc5-000490-1z for submit@debbugs.gnu.org; Sun, 05 Jun 2016 11:05:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9Zc2-0008GI-ON for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2016 11:05:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b9Zbx-00047G-L8 for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2016 11:05:13 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:42856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9Zbx-00046b-EZ for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2016 11:05:09 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1b9Zbu-00069X-5w for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2016 17:05:06 +0200 Original-Received: from 92.sub-70-192-38.myvzw.com ([70.192.38.92]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Jun 2016 17:05:06 +0200 Original-Received: from flitterio by 92.sub-70-192-38.myvzw.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Jun 2016 17:05:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 70.192.38.92 (Mozilla/5.0 (Windows NT 6.1; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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" Xref: news.gmane.org gmane.emacs.bugs:119107 Archived-At: Ken Brown cornell.edu> writes: > While we're waiting for an expert to respond to this, it's > easy to test if my guess is correct. Please apply > the following patch, rebuild, and retry your tests. Hi Ken, Unfortunately, your patch doesn't apply cleanly. My source near those lines no longer looks like the context in your patch. In particular, I no longer have a call to connect_network_socket at line 3142. I see this commit by Paul Eggert in my source: commit 918ef71538fd43049496e4370eba63e3096a4933 Author: Paul Eggert Date: Mon May 23 08:56:42 2016 -0700 Don't use only last protocol from getaddrinfo Problem reported by Ken Brown in: http://lists.gnu.org/archive/html/emacs-devel/2016-05/msg00483.html * src/process.c (conv_addrinfo_to_lisp): New function. (connect_network_socket): Arg is now a list of addrinfos, not merely IP addresses. All uses changed. Use protocol from each addrinfo. (Fmake_network_process): Accumulate protocols into addrinfos rather than just using the last one found. (check_for_dns): Accumulate protocols here, too. * src/process.h (struct Lisp_Process): Remove ai_protocol; no longer needed. I built Emacs from source containing that commit, but it didn't fix the problem. Let me know if there's any more I can do to help. I will leave my local repo in the state where the above commit is the most recent commit to src/process.c, in case you need me to try another patch. -- Fran Litterio