From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.bugs Subject: bug#15905: 24.3; url-copy-file sometimes silently downloads garbage or incomplete file Date: Mon, 18 Nov 2013 14:13:18 -0500 Organization: =?UTF-8?Q?=D0=A2=D0=B5=D0=BE=D0=B4=D0=BE=D1=80_?= =?UTF-8?Q?=D0=97=D0=BB=D0=B0=D1=82=D0=B0=D0=BD=D0=BE=D0=B2?= @ Cienfuegos Message-ID: <87bo1hfrqp.fsf@flea.lifelogs.com> References: <52864819.7060502@thompsonclan.org> <8738mwgc6h.fsf@flea.lifelogs.com> <52884BD5.4060905@thompsonclan.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1384801993 25160 80.91.229.3 (18 Nov 2013 19:13:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Nov 2013 19:13:13 +0000 (UTC) Cc: 15905@debbugs.gnu.org To: Ryan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 18 20:13:19 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 1ViUG5-0002K4-3f for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Nov 2013 20:13:17 +0100 Original-Received: from localhost ([::1]:45502 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViUG4-0000Ga-C2 for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Nov 2013 14:13:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViUFw-0000FP-TF for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2013 14:13:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ViUFq-00081F-UF for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2013 14:13:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46374) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViUFq-000813-OF for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2013 14:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ViUFq-0002QX-3z for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2013 14:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ted Zlatanov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Nov 2013 19:13:02 +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.13848019599297 (code B ref 15905); Mon, 18 Nov 2013 19:13:02 +0000 Original-Received: (at 15905) by debbugs.gnu.org; 18 Nov 2013 19:12:39 +0000 Original-Received: from localhost ([127.0.0.1]:60393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ViUFT-0002Ps-10 for submit@debbugs.gnu.org; Mon, 18 Nov 2013 14:12:39 -0500 Original-Received: from mail-qc0-f169.google.com ([209.85.216.169]:64829) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ViUFQ-0002PZ-P7 for 15905@debbugs.gnu.org; Mon, 18 Nov 2013 14:12:37 -0500 Original-Received: by mail-qc0-f169.google.com with SMTP id u18so4184511qcx.0 for <15905@debbugs.gnu.org>; Mon, 18 Nov 2013 11:12:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifelogs.com; s=google; h=from:to:cc:subject:organization:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=b9VSG6WaZdgNmQBFZrjbMsir4YQ8d08rtBdlB8qrSrI=; b=DKBSw3uzC4dRjhdngChPXQrGpqMRh+xBXewfVLjgksSbOXdb0VzZLDmiKogJJPs+ll d/ZehmlfQVFhlsYEo3wX2IFlIeC6tiHJ7BmyZM9ffYdVi1DuQAwjkxh+/VtxW0X8gpRZ 7dSjRGSVD78bAT9Xoi4Gxtvry155T0yzwV2gQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:organization:references :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=b9VSG6WaZdgNmQBFZrjbMsir4YQ8d08rtBdlB8qrSrI=; b=YnTdyxJkTbMoawPFOuSE192/aFwC5r3LU6lUU8TQbMRxt/nn1qetOrnc6fzx/bWVPT Y2/4rGJxwijn/dANQt03zd3RlFtVwJ/e78FMEJBnEq8eFVbQuHPybddwxznEY71LEHP8 9F7ndOCSIXsFflLhZ7+CDLyTJNMEfl51377vKozrLXM3HJ0wn9dJ/US/qK5fZERoZ9P4 gYbHsnxleidUIl4AW6VF5T8Yucfnjao4+WTGijO7tSYmdan6u8PqnVBsM+HfuerhtIiz K/PMIiRc4clRlAmEYQxTG/JBpBwxYZfDQiaC+z4ya3ofjLeI4PqLy6JAluB1aELXMxYa N0UA== X-Gm-Message-State: ALoCoQneqXf7KI/R+fof9t7jhmeI5Pw65QM9TtK5fbtu/7BfZvYRLG2UJi/iWriwm5gcZKtpIe2/ X-Received: by 10.224.165.133 with SMTP id i5mr5576452qay.11.1384801951235; Mon, 18 Nov 2013 11:12:31 -0800 (PST) Original-Received: from flea.lifelogs.com (c-98-229-61-72.hsd1.ma.comcast.net. [98.229.61.72]) by mx.google.com with ESMTPSA id r5sm38338987qeh.1.2013.11.18.11.12.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Nov 2013 11:12:30 -0800 (PST) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <52884BD5.4060905@thompsonclan.org> (Ryan's message of "Sat, 16 Nov 2013 20:53:41 -0800") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) 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:80738 Archived-At: On Sat, 16 Nov 2013 20:53:41 -0800 Ryan wrote: R> 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). R> I believe I got my Emacs from http://emacsformacosx.com/. I don't know R> the configuration details of it. That build doesn't have GnuTLS support, so you're running an external binary (`gnutls-cli' or something similar). I haven't seen the problems you report on Mac OS X (tried with the emacsformacosx build), so it may be something specific to your system. Can you see if any other users of the emacsformacosx build can confirm the bug? Ted