From unknown Wed Jun 18 23:03:29 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#23620 <23620@debbugs.gnu.org> To: bug#23620 <23620@debbugs.gnu.org> Subject: Status: 25.0.94; url-retrieve fails on localhost Reply-To: bug#23620 <23620@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:03:29 +0000 retitle 23620 25.0.94; url-retrieve fails on localhost reassign 23620 emacs submitter 23620 Artur Malabarba severity 23620 normal tag 23620 confirmed patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed May 25 14:45:41 2016 Received: (at submit) by debbugs.gnu.org; 25 May 2016 18:45:41 +0000 Received: from localhost ([127.0.0.1]:38560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5doL-0005lG-HG for submit@debbugs.gnu.org; Wed, 25 May 2016 14:45:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47317) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5doK-0005l3-0d for submit@debbugs.gnu.org; Wed, 25 May 2016 14:45:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5doD-0005EO-Uu for submit@debbugs.gnu.org; Wed, 25 May 2016 14:45:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58545) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5doD-0005E0-RY for submit@debbugs.gnu.org; Wed, 25 May 2016 14:45:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5doB-0003gm-Lv for bug-gnu-emacs@gnu.org; Wed, 25 May 2016 14:45:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5do5-0005C4-Mv for bug-gnu-emacs@gnu.org; Wed, 25 May 2016 14:45:30 -0400 Received: from mail-qg0-x231.google.com ([2607:f8b0:400d:c04::231]:33656) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5do5-0005BZ-IS for bug-gnu-emacs@gnu.org; Wed, 25 May 2016 14:45:25 -0400 Received: by mail-qg0-x231.google.com with SMTP id f92so26188409qgf.0 for ; Wed, 25 May 2016 11:45:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version; bh=XhvvM69L5NAfMuNVqGx+r40N8AzTcHUIGebA5pjtIxw=; b=yL2VTAkyM9MVaaeSY+6NFZhqm8hr5zhts3AfcLnLMYW3OfZPqWW/CIQ0+y77L2StIN Qjy13tcz9o6OZLjl034oBAM6Fo1sYO4KL/ucY+D+qyEbZdYPkFQZb5KfDPAcJiQF3pDi aMhuf43YXQ4rkPpgwTGKdxbz3ENeaJxI7/9S00EAVE+KdE4HatQ/2z8IFjTlTAncCgoZ cSm8LbCeZRy1uyRwRjtPYpXq7hLFXMdshRwvgRDpYmP64H9MDI1NTtS4Dvi94LyLJGWp ezcrqsCwE1DgKlrG9h8j2ReznwXobBDZEAfYTBHXD4pVcYmNokkLwcEHdRU0i4KN/o9W SHoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version; bh=XhvvM69L5NAfMuNVqGx+r40N8AzTcHUIGebA5pjtIxw=; b=eZU9/VTExPnTgEt8iWST5fTzGJZ7ZEy8AUbUVxzwGrlaZ9TwYpGggpVL0M10pKz3// bs0oznWxrcIVpt9hq9FMn9RMhu6KL9dNsnRJn+um8W0wgLG7Wg/GSQK7DWf1bCHHrwDu Bzmb+dhq34YMZd9PQk5LfS1Zxa/KQAWY0vnTrHvfNQLGl+N4JYZWNTUaPxpyRy31xJAU Me38rNX3yDEeIrdOnVCGJ6eR+sgVus7Jj7kMEFgpNeACwRHDZOdR+JrOwTvTpreljGnq egNGX/ebr66TTSLJ3l5zyFAy609ujfAasXi/uTW0jmoRCmimJ/5mlNVHWuQX/SAlj1WK Cvyw== X-Gm-Message-State: ALyK8tJE/Jzjk3Zba+r/i2Ind1kHWIFkXUBZ6LMntX2Yz4r5zS85upCQal52OhE0m36Pkw== X-Received: by 10.140.197.5 with SMTP id s5mr5228118qha.17.1464201923912; Wed, 25 May 2016 11:45:23 -0700 (PDT) Received: from Gandalf-Linux.gmail.com ([179.184.224.5]) by smtp.gmail.com with ESMTPSA id f6sm47548qgf.4.2016.05.25.11.45.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 May 2016 11:45:22 -0700 (PDT) From: Artur Malabarba To: bug-gnu-emacs@gnu.org Subject: 25.0.94; url-retrieve fails on localhost Date: Wed, 25 May 2016 15:45:14 -0300 Message-ID: <87oa7uou2t.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Assuming you have a webserver serving on localhost:5100, run the following snippet: (url-retrieve "http://localhost:5100/" (lambda (&rest r) (message "%S" r))) It fails with the following error: (:error (error connection-failed "failed with code 111\n" :host "localhost" :service 5100)) Note that if I switch to a terminal and try curl: curl "http://localhost:5100/" it works fine. Using `url-retrieve' on remote urls also works fine. From debbugs-submit-bounces@debbugs.gnu.org Sat May 28 12:42:30 2016 Received: (at 23620) by debbugs.gnu.org; 28 May 2016 16:42:30 +0000 Received: from localhost ([127.0.0.1]:44984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6hJm-0007OT-IV for submit@debbugs.gnu.org; Sat, 28 May 2016 12:42:30 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:32902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6hJl-0007OG-23 for 23620@debbugs.gnu.org; Sat, 28 May 2016 12:42:29 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 99A8B1613DA; Sat, 28 May 2016 09:42:21 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id N61tdi3E1wbD; Sat, 28 May 2016 09:42:20 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id E64501613E4; Sat, 28 May 2016 09:42:20 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id IGjBP1BXGXrK; Sat, 28 May 2016 09:42:20 -0700 (PDT) Received: from [192.168.1.9] (unknown [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id CAD4D1613DA; Sat, 28 May 2016 09:42:20 -0700 (PDT) To: Artur Malabarba From: Paul Eggert Subject: Re: 25.0.94; url-retrieve fails on localhost Organization: UCLA Computer Science Department Message-ID: <5749CA69.6070403@cs.ucla.edu> Date: Sat, 28 May 2016 09:42:17 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: 23620 Cc: 23620@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) I'm not observing this problem on my platform (Fedora 23 x86-64, local we= b=20 server is sthttpd). I do see the problem if I attempt to connect to a non-webserver attached = to a=20 local TCP port (in my case, port 943 attached to sshd); perhaps your webs= erver=20 isn't set up properly? But that situation looks like Bug#20159, i.e., use= r error=20 not a bug in url-retrieve. Its callbacks are supposed to check status, no= t=20 merely call 'message' willy-nilly. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 01 10:55:40 2016 Received: (at 23620) by debbugs.gnu.org; 1 Jun 2016 14:55:40 +0000 Received: from localhost ([127.0.0.1]:49988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b87Ya-00061Z-E8 for submit@debbugs.gnu.org; Wed, 01 Jun 2016 10:55:40 -0400 Received: from mail-qg0-f44.google.com ([209.85.192.44]:33910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b87YY-00061N-SE for 23620@debbugs.gnu.org; Wed, 01 Jun 2016 10:55:39 -0400 Received: by mail-qg0-f44.google.com with SMTP id p34so39105182qgp.1 for <23620@debbugs.gnu.org>; Wed, 01 Jun 2016 07:55:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Ip9M+RmZm2wiWlHcRV99qb80sC1bP1AUVFQsEtBuZiI=; b=AKFKno6wRDcTGQWHnDD3BQoNDuvj6n8j5sG6BkPLRlSpiArrCVcBe0Go4Dbd4kia6j Y3z1pkxLBn5OhWadflVKMVP89pKf5sbAHnGsQvGY6WM2MkhAHiLVsNKkVyZDxx7WQIfX vScGFV5oguNizAj9dxpt6BpM56yDZO/7wUJdN0GlF7iVvKYhITAs4QvS7fWvXanOn4xz cI3wFlFGLTdntoo36tNptumC7Wv9ggD3vTJsx421ATS6LG/1Jzi50hmjMpRUXV4TjnAn gwo5f0RczP5oB2KqV8k8wrqeu4wggzyv9nZKP5fmUTa7zt8NwSyWGZyqFyFFmokhQUgk tedQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=Ip9M+RmZm2wiWlHcRV99qb80sC1bP1AUVFQsEtBuZiI=; b=W1K7Xt7s0FVBXROyfjFk/iMXQxxyT0nW1GUDAhmfAjzgN/7blvReoPRm0wZkM5OYyU NVbDxQpv7mGuS29OymojAC00k5d0X7ZWFl9iukzDvMPAwQcOxhN3AE2Cdv7M+6hDqrQF llUAK/Zem2N8zOhygPuSC4PX8QbxHf65C6EN9hnvLIxXkEmS76J1hojOdeAv4lHWh3kI cnJl5RoNCOmYrlK6vhcMCU1lSy+pHG75sy8LubML3sBiSrNlA3JrLt72A9tjM3VVCzbz mEunc3YwX335R72DNGCo0YCEiKiO1ai9SddBl3oyW5RlcFXW6Sy1H4Yw0bNNfdf4afju qUiA== X-Gm-Message-State: ALyK8tLAyw21inhWb9WGHcnkhn/VOjeVemXHFF+a7EUhs7TlXlROEgZGAoZ9J3p5vRLlqg== X-Received: by 10.140.109.10 with SMTP id k10mr36480270qgf.89.1464792933337; Wed, 01 Jun 2016 07:55:33 -0700 (PDT) Received: from Gandalf-Linux.gmail.com ([179.184.224.5]) by smtp.gmail.com with ESMTPSA id p12sm7148676qha.31.2016.06.01.07.55.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Jun 2016 07:55:32 -0700 (PDT) From: Artur Malabarba To: Paul Eggert Subject: Re: 25.0.94; url-retrieve fails on localhost References: <5749CA69.6070403@cs.ucla.edu> Date: Wed, 01 Jun 2016 11:55:27 -0300 In-Reply-To: <5749CA69.6070403@cs.ucla.edu> (Paul Eggert's message of "Sat, 28 May 2016 09:42:17 -0700") Message-ID: <87h9ddez6o.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23620 Cc: 23620@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Paul Eggert writes: > I'm not observing this problem on my platform (Fedora 23 x86-64, local > web server is sthttpd). >[...] > perhaps your webserver isn't set up properly? Indeed, I just tested with a different server project I have here and there was no problem, so it seems to be specific to how this server is configured. However, I wouldn't go as far as to say the server is MISconfigured. Like I said, it works fine with curl, wget, webrowsers, and any other means I tried. Only url-retrieve failed on it. Does anyone know how we could look further into it? > I do see the problem if I attempt to connect to a non-webserver > attached to a local TCP port (in my case, port 943 attached to sshd); In my case it's just a rails server started with: bundle exec rails server -p 5100 > But that situation looks like Bug#20159, i.e., user error not a bug in > url-retrieve. Its callbacks are supposed to check status, not merely > call 'message' willy-nilly. I used that callback simply to point out the 111 error code. The problem here is that the request the fails, not how the user handles the failure. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 01 12:43:22 2016 Received: (at 23620) by debbugs.gnu.org; 1 Jun 2016 16:43:22 +0000 Received: from localhost ([127.0.0.1]:50072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b89Eo-0005Dx-0G for submit@debbugs.gnu.org; Wed, 01 Jun 2016 12:43:22 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:37558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b89Em-0005Di-TK for 23620@debbugs.gnu.org; Wed, 01 Jun 2016 12:43:21 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 2C2DF1613C7; Wed, 1 Jun 2016 09:43:14 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id HsepEsQsQu71; Wed, 1 Jun 2016 09:43:13 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 7B00C16140E; Wed, 1 Jun 2016 09:43:13 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id cnfCSOu0B8uV; Wed, 1 Jun 2016 09:43:13 -0700 (PDT) Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 63B491613C7; Wed, 1 Jun 2016 09:43:13 -0700 (PDT) Subject: Re: 25.0.94; url-retrieve fails on localhost To: Artur Malabarba References: <5749CA69.6070403@cs.ucla.edu> <87h9ddez6o.fsf@gmail.com> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: Date: Wed, 1 Jun 2016 09:43:13 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <87h9ddez6o.fsf@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: 23620 Cc: 23620@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) On 06/01/2016 07:55 AM, Artur Malabarba wrote: >> >I do see the problem if I attempt to connect to a non-webserver >> >attached to a local TCP port (in my case, port 943 attached to sshd); > In my case it's just a rails server started with: > bundle exec rails server -p 5100 > Possibly url-retrieve is being too picky about what it accepts. I'm afraid you'll have to debug it on your end, though. Sorry, I don't have much experience with this sort of debugging, but perhaps you can track all the bytes going from Emacs to your server and back again and see what the problem is. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 01 15:04:47 2016 Received: (at 23620) by debbugs.gnu.org; 1 Jun 2016 19:04:48 +0000 Received: from localhost ([127.0.0.1]:50163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b8BRf-00052W-OO for submit@debbugs.gnu.org; Wed, 01 Jun 2016 15:04:47 -0400 Received: from mail-vk0-f46.google.com ([209.85.213.46]:35259) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b8BRe-00052K-Ea for 23620@debbugs.gnu.org; Wed, 01 Jun 2016 15:04:46 -0400 Received: by mail-vk0-f46.google.com with SMTP id d127so40495648vkh.2 for <23620@debbugs.gnu.org>; Wed, 01 Jun 2016 12:04:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=az+orqBHnK8rn6lN77ZiTe4Nt4xJGbce6bzj/9vPiwQ=; b=AHEiJUDziBky9F7NFt0iIkZ1gZ3mPneb7Fc0ectn3N3QiLaglh65KrC17n+N6vHalz RooHDUbcCbQZw919FWA14zNRU5IWq2EnhWZkmRTpoX9FW2XviL3bm5yuSUU/YvaN9xWW pqvGKKG8lGqf8rjgvPfLRiUN+NfBtby2rMmBSM8EuDCLpe4CVBM148ZUj/Nh5nPsYWMB QUJX3SA43NdvD4Nlws8bndo90fMdV73wB5cJUItNeiH22PLUVrurVOkTY1aM8kna4DLD OSc1bkKdBB/jO+s6IKSG3TEWFKfI/zC3IzI+XTJM5lI+em966kqT0FuWxlUycSDKGKgp bc7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=az+orqBHnK8rn6lN77ZiTe4Nt4xJGbce6bzj/9vPiwQ=; b=TUcbkp6B38tTTJJxvMhR3/8cX5pbYj4Tah1ygifeN5EQpeLVAbAiQf9b8BM11wi+AH TVdmIlJ8AQ3QtaaIAuaEK5RkyxwSA/z8YYwmJfXau2FwRJUxbOCU5JMu/zsYp6hD1N2j UQDjOJsi44BwaRPUfAPZhaAxxyoyLeMB2GPIalfWW2ksVCJTdjAYwbQemlc1eB0BSOdH lTDoPtG4rYchW/FF0sj0uJVs1VBcKKKzq0lETMseJw9sqEPsaKCMhL2VuSnjWbyRj3IY ki0yN7sF9yu/UTH/FzTL6H1rRvv0yR4/lyoKsRsGcY+WrH3zGIxtsLY3HbzdV4KigeZb bNRg== X-Gm-Message-State: ALyK8tL41K78WeQewD3R8gIbAGevz/3GOv2uNvpBn2/MjW/iWtUXYojXA3IPpayLZlIAssYiZ5DMeaFD3lhWIg== X-Received: by 10.159.35.40 with SMTP id 37mr2111189uae.55.1464807880701; Wed, 01 Jun 2016 12:04:40 -0700 (PDT) MIME-Version: 1.0 References: <5749CA69.6070403@cs.ucla.edu> <87h9ddez6o.fsf@gmail.com> In-Reply-To: From: Artur Malabarba Date: Wed, 01 Jun 2016 19:04:31 +0000 Message-ID: Subject: Re: 25.0.94; url-retrieve fails on localhost To: Paul Eggert Content-Type: multipart/alternative; boundary=001a113bcc7e65139405343c294d X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23620 Cc: 23620@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a113bcc7e65139405343c294d Content-Type: text/plain; charset=UTF-8 After some more digging, looks like this is a duplicate of #17976. Could someone mark it as such? --001a113bcc7e65139405343c294d Content-Type: text/html; charset=UTF-8
After some more digging, looks like this is a duplicate of #17976. Could someone mark it as such?
--001a113bcc7e65139405343c294d-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 01 15:07:43 2016 Received: (at control) by debbugs.gnu.org; 1 Jun 2016 19:07:43 +0000 Received: from localhost ([127.0.0.1]:50167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b8BUV-00056l-4W for submit@debbugs.gnu.org; Wed, 01 Jun 2016 15:07:43 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:57256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b8BUT-00056W-Cm for control@debbugs.gnu.org; Wed, 01 Jun 2016 15:07:41 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 25AB81613C1 for ; Wed, 1 Jun 2016 12:07:35 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 9sFLLeeiBhaq for ; Wed, 1 Jun 2016 12:07:33 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id B98641613BB for ; Wed, 1 Jun 2016 12:07:33 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 9fUeyHE6nXPT for ; Wed, 1 Jun 2016 12:07:33 -0700 (PDT) Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id A42E51613C6 for ; Wed, 1 Jun 2016 12:07:33 -0700 (PDT) To: control@debbugs.gnu.org From: Paul Eggert Subject: 23620 is a duplicate of 17976 Organization: UCLA Computer Science Department Message-ID: <81a0f08d-ffd8-28ea-f38b-1dc84852238e@cs.ucla.edu> Date: Wed, 1 Jun 2016 12:07:33 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) merge 17976 23620 thanks See: http://bugs.gnu.org/23620#17 From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 12 14:38:26 2016 Received: (at control) by debbugs.gnu.org; 12 Jun 2016 18:38:26 +0000 Received: from localhost ([127.0.0.1]:38258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCAHB-0002Jr-QB for submit@debbugs.gnu.org; Sun, 12 Jun 2016 14:38:25 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:58095) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCAHA-0002Je-P3 for control@debbugs.gnu.org; Sun, 12 Jun 2016 14:38:25 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 6B4901613DB for ; Sun, 12 Jun 2016 11:38:19 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id gMOCgpMPj89k for ; Sun, 12 Jun 2016 11:38:18 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id A3E121613EE for ; Sun, 12 Jun 2016 11:38:18 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id bi9Z6Vq1XFxk for ; Sun, 12 Jun 2016 11:38:18 -0700 (PDT) Received: from [192.168.1.9] (unknown [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 8A0AC1613DB for ; Sun, 12 Jun 2016 11:38:18 -0700 (PDT) To: control@debbugs.gnu.org From: Paul Eggert Subject: 17976 has a patch and needs more info Organization: UCLA Computer Science Department Message-ID: <575DAC1A.6050306@cs.ucla.edu> Date: Sun, 12 Jun 2016 11:38:18 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) tags 17976 + patch moreinfo From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 17:58:50 2016 Received: (at 23620) by debbugs.gnu.org; 26 Jun 2016 21:58:51 +0000 Received: from localhost ([127.0.0.1]:57099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHI4o-0006SP-IJ for submit@debbugs.gnu.org; Sun, 26 Jun 2016 17:58:50 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:56152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHI4m-0006S5-DP; Sun, 26 Jun 2016 17:58:49 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 6E764160255; Sun, 26 Jun 2016 14:58:42 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id OZcxVWX_plC5; Sun, 26 Jun 2016 14:58:40 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id ACA8A1613DB; Sun, 26 Jun 2016 14:58:40 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id s7l70LjzsmwX; Sun, 26 Jun 2016 14:58:40 -0700 (PDT) Received: from [192.168.1.15] (host243-162-static.0-79-b.business.telecomitalia.it [79.0.162.243]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id ADE30160255; Sun, 26 Jun 2016 14:58:38 -0700 (PDT) To: 17976@debbugs.gnu.org From: Paul Eggert Subject: Re: 24.3; url-retrieve-synchronously doesn't fallback to IPv4 Message-ID: <57705005.2060608@cs.ucla.edu> Date: Sun, 26 Jun 2016 23:58:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080704050302000603090504" X-Spam-Score: -1.0 (-) X-Debbugs-Envelope-To: 23620 Cc: Juliusz Chroboczek , Andreas Schwab , 23620@debbugs.gnu.org, Artur Malabarba , Lars Ingebrigtsen , Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multi-part message in MIME format. --------------080704050302000603090504 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit No further comment on the proposed patch, and as it should be a win for non-WINDOWSNT I decided to install it on the Emacs master branch. I looked into how libcurl addresses the issue, and it doesn't care whether the errno value reported by getsockopt is ECONNREFUSED so I adjusted the Emacs patch accordingly (see attached) before installing. Please give it a try if you have the time. This patch does not affect behavior if WINDOWSNT. If the bug does not occur on MS-Windows I hope we can close Bug#17976. Otherwise we should leave the bug open for the WINDOWSNT case. --------------080704050302000603090504 Content-Type: text/x-patch; name="0001-Try-other-addresses-when-connecting-to-multihomed.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-Try-other-addresses-when-connecting-to-multihomed.patch" >From 6a90b600323afc42ae3bd644d82ba7ea054a816a Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 26 Jun 2016 23:27:21 +0200 Subject: [PATCH] Try other addresses when connecting to multihomed Problem reported by Juliusz Chroboczek (Bug#17976) and by Artur Malabarba (Bug#23620). Patch from a suggestion by Andreas Schwab in: http://bugs.gnu.org/17976#39 This patch is for non-MS-Windows platforms. I don't know the situation on MS-Windows. * src/process.c (connecting_status): New function, for (connect . ADDRINFOS). (connect_network_socket, check_for_dns, wait_for_socket_fds) (wait_while_connecting, wait_reading_process_output, status_notify): Use it. (decode_status, Fmake_network_process): Support (connect . ADDRINFOS) status. (connect_network_socket) [!WINDOWSNT]: If the connection failed and there are other addresses to try, do not signal an error; instead, loop around to try the next address. (wait_reading_process_output): Advance to the next address if there are multiple addresses and the first remaining address failed. * src/process.h (struct Lisp_Process.status): Adjust comment to describe (connect . ADDRINFOS). --- src/process.c | 47 +++++++++++++++++++++++++++++++++++------------ src/process.h | 4 +++- 2 files changed, 38 insertions(+), 13 deletions(-) diff --git a/src/process.c b/src/process.c index e669278..ed0c529 100644 --- a/src/process.c +++ b/src/process.c @@ -533,6 +533,14 @@ status_convert (int w) return Qrun; } +/* True if STATUS is that of a process attempting connection. */ + +static bool +connecting_status (Lisp_Object status) +{ + return CONSP (status) && EQ (XCAR (status), Qconnect); +} + /* Given a status-list, extract the three pieces of information and store them individually through the three pointers. */ @@ -542,6 +550,9 @@ decode_status (Lisp_Object l, Lisp_Object *symbol, Lisp_Object *code, { Lisp_Object tem; + if (connecting_status (l)) + l = XCAR (l); + if (SYMBOLP (l)) { *symbol = l; @@ -3288,9 +3299,10 @@ connect_network_socket (Lisp_Object proc, Lisp_Object addrinfos, eassert (FD_ISSET (s, &fdset)); if (getsockopt (s, SOL_SOCKET, SO_ERROR, &xerrno, &len) < 0) report_file_error ("Failed getsockopt", Qnil); - if (xerrno) + if (xerrno == 0) + break; + if (NILP (addrinfos)) report_file_errno ("Failed connect", Qnil, xerrno); - break; } #endif /* !WINDOWSNT */ @@ -3399,7 +3411,9 @@ connect_network_socket (Lisp_Object proc, Lisp_Object addrinfos, /* We may get here if connect did succeed immediately. However, in that case, we still need to signal this like a non-blocking connection. */ - pset_status (p, Qconnect); + if (! (connecting_status (p->status) + && EQ (XCDR (p->status), addrinfos))) + pset_status (p, Fcons (Qconnect, addrinfos)); if (!FD_ISSET (inch, &connect_wait_mask)) { FD_SET (inch, &connect_wait_mask); @@ -3960,7 +3974,7 @@ usage: (make-network-process &rest ARGS) */) if (!p->is_server && NILP (addrinfos)) { p->dns_request = dns_request; - p->status = Qconnect; + p->status = list1 (Qconnect); return proc; } #endif @@ -4673,7 +4687,7 @@ check_for_dns (Lisp_Object proc) addrinfos = Fnreverse (addrinfos); } /* The DNS lookup failed. */ - else if (EQ (p->status, Qconnect)) + else if (connecting_status (p->status)) { deactivate_process (proc); pset_status (p, (list2 @@ -4686,7 +4700,7 @@ check_for_dns (Lisp_Object proc) free_dns_request (proc); /* This process should not already be connected (or killed). */ - if (!EQ (p->status, Qconnect)) + if (! connecting_status (p->status)) return Qnil; return addrinfos; @@ -4698,7 +4712,7 @@ static void wait_for_socket_fds (Lisp_Object process, char const *name) { while (XPROCESS (process)->infd < 0 - && EQ (XPROCESS (process)->status, Qconnect)) + && connecting_status (XPROCESS (process)->status)) { add_to_log ("Waiting for socket from %s...", build_string (name)); wait_reading_process_output (0, 20 * 1000 * 1000, 0, 0, Qnil, NULL, 0); @@ -4708,7 +4722,7 @@ wait_for_socket_fds (Lisp_Object process, char const *name) static void wait_while_connecting (Lisp_Object process) { - while (EQ (XPROCESS (process)->status, Qconnect)) + while (connecting_status (XPROCESS (process)->status)) { add_to_log ("Waiting for connection..."); wait_reading_process_output (0, 20 * 1000 * 1000, 0, 0, Qnil, NULL, 0); @@ -5010,7 +5024,7 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd, update_status (wait_proc); if (wait_proc && ! EQ (wait_proc->status, Qrun) - && ! EQ (wait_proc->status, Qconnect)) + && ! connecting_status (wait_proc->status)) { bool read_some_bytes = false; @@ -5520,9 +5534,18 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd, #endif if (xerrno) { - p->tick = ++process_tick; - pset_status (p, list2 (Qfailed, make_number (xerrno))); + Lisp_Object addrinfos + = connecting_status (p->status) ? XCDR (p->status) : Qnil; + if (!NILP (addrinfos)) + XSETCDR (p->status, XCDR (addrinfos)); + else + { + p->tick = ++process_tick; + pset_status (p, list2 (Qfailed, make_number (xerrno))); + } deactivate_process (proc); + if (!NILP (addrinfos)) + connect_network_socket (proc, addrinfos, Qnil); } else { @@ -6999,7 +7022,7 @@ status_notify (struct Lisp_Process *deleting_process, /* If process is still active, read any output that remains. */ while (! EQ (p->filter, Qt) - && ! EQ (p->status, Qconnect) + && ! connecting_status (p->status) && ! EQ (p->status, Qlisten) /* Network or serial process not stopped: */ && ! EQ (p->command, Qt) diff --git a/src/process.h b/src/process.h index 4430377..6c227bc 100644 --- a/src/process.h +++ b/src/process.h @@ -83,7 +83,9 @@ struct Lisp_Process Lisp_Object mark; /* Symbol indicating status of process. - This may be a symbol: run, open, closed, listen, connect, or failed. + This may be a symbol: run, open, closed, listen, or failed. + Or it may be a pair (connect . ADDRINFOS) where ADDRINFOS is + a list of remaining (PROTOCOL . ADDRINFO) pairs to try. Or it may be (failed ERR) where ERR is an integer, string or symbol. Or it may be a list, whose car is stop, exit or signal and whose cdr is a pair (EXIT_CODE . COREDUMP_FLAG) -- 2.5.5 --------------080704050302000603090504-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 19:21:14 2016 Received: (at 23620) by debbugs.gnu.org; 26 Jun 2016 23:21:14 +0000 Received: from localhost ([127.0.0.1]:57125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHJMY-00007L-1w for submit@debbugs.gnu.org; Sun, 26 Jun 2016 19:21:14 -0400 Received: from korolev.univ-paris7.fr ([194.254.61.138]:52677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHJMV-00006y-R8; Sun, 26 Jun 2016 19:21:12 -0400 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/56228) with ESMTP id u5QNKtmv014329 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 27 Jun 2016 01:20:55 +0200 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/56228) with ESMTP id u5QNKtFW017143; Mon, 27 Jun 2016 01:20:55 +0200 Received: from mailhub.math.univ-paris-diderot.fr (localhost [127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTP id EBECF61FA2; Mon, 27 Jun 2016 01:20:54 +0200 (CEST) X-Virus-Scanned: amavisd-new at math.univ-paris-diderot.fr 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 GZ4Ywm6JzqMz; Mon, 27 Jun 2016 01:20:53 +0200 (CEST) Received: from trurl.pps.univ-paris-diderot.fr (col75-1-78-194-40-74.fbxo.proxad.net [78.194.40.74]) (Authenticated sender: jch) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTPSA id 72ECD61F9D; Mon, 27 Jun 2016 01:20:52 +0200 (CEST) Date: Mon, 27 Jun 2016 01:20:52 +0200 Message-ID: <87ziq7tu3v.wl-jch@pps.univ-paris-diderot.fr> From: Juliusz Chroboczek To: Paul Eggert Subject: Re: 24.3; url-retrieve-synchronously doesn't fallback to IPv4 In-Reply-To: <57705005.2060608@cs.ucla.edu> References: <57705005.2060608@cs.ucla.edu> User-Agent: Wanderlust/2.15.9 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (korolev.univ-paris7.fr [IPv6:2001:660:3301:8000::1:2]); Mon, 27 Jun 2016 01:20:56 +0200 (CEST) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (potemkin.univ-paris7.fr [194.254.61.141]); Mon, 27 Jun 2016 01:20:55 +0200 (CEST) X-Miltered: at korolev with ID 57706357.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-Miltered: at potemkin with ID 57706357.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 57706357.000 from potemkin.univ-paris7.fr/potemkin.univ-paris7.fr/null/potemkin.univ-paris7.fr/ X-j-chkmail-Enveloppe: 57706357.000 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 : 57706357.000 on korolev.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Score: MSGID : 57706357.000 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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 23620 Cc: Andreas Schwab , 23620@debbugs.gnu.org, Artur Malabarba , 17976@debbugs.gnu.org, Lars Ingebrigtsen , Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi Paul, I'm the original submitter of #17976. I can confirm that I still see the bug with Emacs 25, and I don't see the bug with current trunk (commit g2989ad9). I'm not sure if it's possible, but I'd appreciate it if this patch could be backported to Emacs 25 (which is what I run usually). Thanks for your help, -- Juliusz Chroboczek From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 07 15:58:01 2016 Received: (at control) by debbugs.gnu.org; 7 Dec 2016 20:58:01 +0000 Received: from localhost ([127.0.0.1]:60319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEjHt-0006Ix-8p for submit@debbugs.gnu.org; Wed, 07 Dec 2016 15:58:01 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEjHs-0006Ii-9T for control@debbugs.gnu.org; Wed, 07 Dec 2016 15:58:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEjHi-0006vd-4w for control@debbugs.gnu.org; Wed, 07 Dec 2016 15:57:55 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56830) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEjHi-0006vY-2h for control@debbugs.gnu.org; Wed, 07 Dec 2016 15:57:50 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cEjHh-0001g1-PG for control@debbugs.gnu.org; Wed, 07 Dec 2016 15:57:49 -0500 Subject: control message for bug 17976 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Wed, 07 Dec 2016 15:57:49 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.0 (--------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.0 (--------) fixed 17976 26.1 tag 17976 - moreinfo From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 21 19:55:47 2017 Received: (at 23620) by debbugs.gnu.org; 21 Oct 2017 23:55:47 +0000 Received: from localhost ([127.0.0.1]:54777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e63cJ-0006ZT-39 for submit@debbugs.gnu.org; Sat, 21 Oct 2017 19:55:47 -0400 Received: from mail-it0-f49.google.com ([209.85.214.49]:49674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e63cE-0006Ys-9e; Sat, 21 Oct 2017 19:55:42 -0400 Received: by mail-it0-f49.google.com with SMTP id y15so2307903ita.4; Sat, 21 Oct 2017 16:55:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=O2ZUhao+sZNnn41OyYOOwSLy64LlubDgF6722ggkgug=; b=n8LRo2W/4JAhdltw7ug+AoQ7BaAK3naSRwby7b2Nbrpogk5PaDQC0nXFBAAFsTZTrZ mezQ4ctSk7kN1qLp6gNRkCET6NZktRbJ8xsM0HvKYeB9+Jo86PKcxHpTjg1tsiX5oCIK CD3Et/Xv1ECx3ADWIJjXFSk5CGwhsymiKXBQW6DcF8JIIz2bpSPah9GzjCVlEAracbVX yx0rUq+JCv2oa931EaEYi0KlcDhpbncNpIAojdfN9n+1xdt6hkh9RDlJQ1NINa0QsR/7 GeXw0s2Elpq+LYLioQGa81klr+WaFHISVrwo1TlkqR6KnqMfgm/Yft8w7SP3zsaefcwA 95Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=O2ZUhao+sZNnn41OyYOOwSLy64LlubDgF6722ggkgug=; b=h0l3mhaCpVRKTuIHYiHgBOhRcFS3IAQWZE5bhKjnNLgvVadwTqQJzYU6JFsZf7rRln gHg+L48WR7cpt1K4Hd01J7RU3B1CCJgZcCKzUMpCoQGu3sqJAaKNhLXKKfeQpcyzeG7n K6hqMbMCLeULj7bqlUuo1j1KRyKU+sm7Bdw3kcj4ZYNs3vXel+9WWEUvV3PnXPeNonJB UXd3P5RCD7ftULTlYWy9hBsr/t39ut0YqrXZCFcEz3XiSuQw0cdezJ3cxI9Tnl4b6d/p ZyK0gv6xHXi60q8G6/egQon+jV98QPsQ8ts3ivEzD7HfHEgCooXtiF4JVpzdFf/J0Ort szlg== X-Gm-Message-State: AMCzsaWgQR+Z3zOVk1NpeGHngnlM1PYT472eAVCx67QbdJrlUPdDzOLt 29y6F4bs6jtQIsMW42p/Iej+qaBe X-Google-Smtp-Source: ABhQp+Riv/aSK3zEs1vQcuedeZ3z9sBYyjJ1ll275X5WuALuUi2/DcEKXxmi8GOw03cWJ9Tx8iO/bw== X-Received: by 10.36.22.79 with SMTP id a76mr3968595ita.55.1508630136548; Sat, 21 Oct 2017 16:55:36 -0700 (PDT) Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id g196sm914229ita.4.2017.10.21.16.55.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 21 Oct 2017 16:55:35 -0700 (PDT) From: Noam Postavsky To: Juliusz Chroboczek Subject: Re: bug#17976: 24.3; url-retrieve-synchronously doesn't fallback to IPv4 References: <57705005.2060608@cs.ucla.edu> <87ziq7tu3v.wl-jch@pps.univ-paris-diderot.fr> Date: Sat, 21 Oct 2017 19:55:34 -0400 In-Reply-To: <87ziq7tu3v.wl-jch@pps.univ-paris-diderot.fr> (Juliusz Chroboczek's message of "Mon, 27 Jun 2016 01:20:52 +0200") Message-ID: <87tvyscayx.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 23620 Cc: Paul Eggert , Andreas Schwab , 23620@debbugs.gnu.org, Artur Malabarba , 17976@debbugs.gnu.org, Lars Ingebrigtsen , Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) close 17976 quit Juliusz Chroboczek writes: > I can confirm that I still see the bug with Emacs 25, and I don't see the > bug with current trunk (commit g2989ad9). > > I'm not sure if it's possible, but I'd appreciate it if this patch could > be backported to Emacs 25 (which is what I run usually). I think it's clear enough by now that there's not going to be any more Emacs 25 releases (unless there's another emergency, in which case this patch still won't go in). From unknown Wed Jun 18 23:03:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 19 Nov 2017 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator