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: Sat, 16 Nov 2013 18:27: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: <8738mwgc6h.fsf@flea.lifelogs.com> References: <52864819.7060502@thompsonclan.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1384644430 22661 80.91.229.3 (16 Nov 2013 23:27:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Nov 2013 23:27:10 +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 Sun Nov 17 00:27:16 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 1VhpGl-0004Vl-Fw for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Nov 2013 00:27:15 +0100 Original-Received: from localhost ([::1]:37523 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhpGk-0007Ac-PP for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Nov 2013 18:27:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhpGd-0007AX-Q9 for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2013 18:27:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VhpGY-0000tj-W7 for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2013 18:27:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhpGY-0000tc-Ri for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2013 18:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VhpGY-0006ob-05 for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2013 18:27: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: Sat, 16 Nov 2013 23:27: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.138464440226163 (code B ref 15905); Sat, 16 Nov 2013 23:27:01 +0000 Original-Received: (at 15905) by debbugs.gnu.org; 16 Nov 2013 23:26:42 +0000 Original-Received: from localhost ([127.0.0.1]:57591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhpGC-0006nu-Ux for submit@debbugs.gnu.org; Sat, 16 Nov 2013 18:26:41 -0500 Original-Received: from mail-qc0-f171.google.com ([209.85.216.171]:44708) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhpGA-0006nh-Bk for 15905@debbugs.gnu.org; Sat, 16 Nov 2013 18:26:39 -0500 Original-Received: by mail-qc0-f171.google.com with SMTP id s13so3014908qcv.30 for <15905@debbugs.gnu.org>; Sat, 16 Nov 2013 15:26:32 -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=TB3T4CiuMKGomNs5efMRATTY3Npu8qBbQIPgi1bPVv0=; b=bEWr7LiIi+yXT7AVoPfzZnr2APJRKLoxBWa1LfqMcM7x6s5zp+ugwPayb8N96mJunm dVN/OwApLXZtnT7ZUcRnzlFg1Fj3cfDYdTQ9gZsamr+Kr810ZYcWNn2aJodHsKUj0yxa Q/AjlXaVETL5oLNvIwlGtbu2HgRMW07PVS+TA= 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=TB3T4CiuMKGomNs5efMRATTY3Npu8qBbQIPgi1bPVv0=; b=Zb/JANVxSMLc7b8M4X++vIe7KhNYsfjZg4eoLNVeMsJvcjmUWZI1Vg9c8AAUKUs95L S8VxJ2fb6N0u70O5tTxYx+sYyLH6x5mhwgu2N3ncW5wRLkO8rvHZThtVUNmkp0cy6ZZF lYyRdUNPvYZic7vCTEToaKfv3avxZFCE4LK/SltfJsjOwKMcsf60jm1u976hoAgrY2ho G53Vbdd45coAsQhk1K1kwDkYZO+QShucsv5U8dfGz9/3JbYZK/P29LK+ymUyeCm0ffMD LiAdQxp4Nezx5M57M1XCwOIpPHFRSX1xLTNw5ZEbuLmoURVJHmSgtB2jRNyadZIvz+Hu Mylg== X-Gm-Message-State: ALoCoQmpM+Soo6wsIa0ABHnKnNiNDuxDglxgeDsPyegt57HD2Jq2zeo/s59SSd1mrQ8HL7JBLM4o X-Received: by 10.224.51.131 with SMTP id d3mr22677403qag.0.1384644392854; Sat, 16 Nov 2013 15:26:32 -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 x10sm22755936qas.5.2013.11.16.15.26.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Nov 2013 15:26:32 -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: <52864819.7060502@thompsonclan.org> (Ryan's message of "Fri, 15 Nov 2013 08:13:13 -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:80669 Archived-At: 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