From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ryan Newsgroups: gmane.emacs.bugs Subject: bug#15905: 24.3; url-copy-file sometimes silently downloads garbage or incomplete file Date: Sat, 16 Nov 2013 20:53:41 -0800 Message-ID: <52884BD5.4060905@thompsonclan.org> References: <52864819.7060502@thompsonclan.org> <8738mwgc6h.fsf@flea.lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1384664052 29204 80.91.229.3 (17 Nov 2013 04:54:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Nov 2013 04:54:12 +0000 (UTC) Cc: 15905@debbugs.gnu.org To: Ted Zlatanov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 17 05:54:17 2013 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 1VhuNF-0006Zd-4E for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Nov 2013 05:54:17 +0100 Original-Received: from localhost ([::1]:37978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhuNE-0008DN-Q8 for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Nov 2013 23:54:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhuN6-00087c-OU for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2013 23:54:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VhuN0-0004Tj-B7 for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2013 23:54:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhuN0-0004Te-6n for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2013 23:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VhuMz-0006ZO-S7 for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2013 23:54:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ryan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Nov 2013 04:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15905 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15905-submit@debbugs.gnu.org id=B15905.138466403625242 (code B ref 15905); Sun, 17 Nov 2013 04:54:01 +0000 Original-Received: (at 15905) by debbugs.gnu.org; 17 Nov 2013 04:53:56 +0000 Original-Received: from localhost ([127.0.0.1]:57827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhuMt-0006Z3-Hc for submit@debbugs.gnu.org; Sat, 16 Nov 2013 23:53:55 -0500 Original-Received: from mail-pb0-f54.google.com ([209.85.160.54]:43107) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhuMq-0006Yi-J8 for 15905@debbugs.gnu.org; Sat, 16 Nov 2013 23:53:53 -0500 Original-Received: by mail-pb0-f54.google.com with SMTP id ro12so5319681pbb.13 for <15905@debbugs.gnu.org>; Sat, 16 Nov 2013 20:53:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=VZh71oUy2gfAQ00FFgalkEHVy2G282M5YCW/e1fUhSk=; b=mhI0CG4JwNpqfTefmpMmFe3TLRCxM8Jo3PSoUj4Fyb0qrZp0va6vnHvp+XbyROj2PI Mp3dCkLee/SqM3lSLq+B70QTABeEUpSWDei1CCHzhfdiFhATxreHtA0PfF4ByqLzjr4q K8qGMBxPLEn1TZy21i6YJQfxSusz/XLGs82/kz25FH60GyxFJQYJqJHVnM06lmSFhmTe 6PXgGBGHkZHAOAN2u2eejUfEd5cJTbY7RO7uqABRNIRyY1jCKL0i9wvYoqKVtw5ugOmr Q5Ey+6hrD23aEKP7SgnaQHtmgqtsP1vCWtHCkFSbf6B96od6VOFBPYcheXk4vQziz3ZX FjYg== X-Gm-Message-State: ALoCoQl60Hr/sYScxUaVU0K5sComGVxs17dZr8BNMzWANIW4TnIxJWEP7wrAPsFu6wvbh62pDje3 X-Received: by 10.68.226.106 with SMTP id rr10mr6882739pbc.111.1384664026019; Sat, 16 Nov 2013 20:53:46 -0800 (PST) Original-Received: from [192.168.10.2] (user-0c9ha1q.cable.mindspring.com. [24.152.168.58]) by mx.google.com with ESMTPSA id kd1sm16540755pab.20.2013.11.16.20.53.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 16 Nov 2013 20:53:44 -0800 (PST) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 In-Reply-To: <8738mwgc6h.fsf@flea.lifelogs.com> 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:80674 Archived-At: I believe I got my Emacs from http://emacsformacosx.com/. I don't know the configuration details of it. On Sat Nov 16 15:27:18 2013, Ted Zlatanov wrote: > On Fri, 15 Nov 2013 08:13:13 -0800 Ryan wrote: > > R> In my experience, somewhere around 10% to 20% of the time the > R> downloaded file has some kind of anomaly. Anomalies that I have > R> observed so far include: > > R> - the file is not completely retrieved; > > R> - the file is complete, but has the following text appended: > >>> 0 >>> >>> - Peer has closed the GnuTLS connection > > R> - the file contains only an HTTP header and nothing else: > >>> HTTP/1.1 200 OK >>> Server: GitHub.com >>> Date: Thu, 14 Nov 2013 20:54:41 GMT >>> Content-Type: text/plain; charset=utf-8 >>> Transfer-Encoding: chunked >>> Status: 200 OK >>> Strict-Transport-Security: max-age=31536000 >>> X-XSS-Protection: 1; mode=block >>> X-Content-Type-Options: nosniff >>> X-UA-Compatible: chrome=1 >>> Access-Control-Allow-Origin: https://render.github.com > > R> In all cases, "url-copy-file" returns t as if the retrieval was > R> completely successful, so the only way to detect these anomalies is to > R> inspect the file's content. > > It's hard to tell from the bug report; can you tell us if your Emacs is > compiled with the GnuTLS library? (the output of `configure' would > help, or tell us where you got the binary). > > Ted