GNU bug report logs - #13095
http-get: Throw to key `bad-response' with args `("EOF while reading response body: ...)'

Previous Next

Package: guile;

Reported by: Nikita Karetnikov <nikita.karetnikov <at> gmail.com>

Date: Wed, 5 Dec 2012 23:39:02 UTC

Severity: normal

Done: Ian Price <ianprice90 <at> googlemail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Nikita Karetnikov <nikita.karetnikov <at> gmail.com>
Subject: bug#13095: closed (Re: bug#13095: http-get: Throw to key
 `bad-response' with args `("EOF while reading response body: ...)')
Date: Sat, 12 Jan 2013 14:49:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#13095: http-get: Throw to key `bad-response' with args `("EOF while reading response body: ...)'

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 13095 <at> debbugs.gnu.org.

-- 
13095: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13095
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ian Price <ianprice90 <at> googlemail.com>
To: Nikita Karetnikov <nikita.karetnikov <at> gmail.com>
Cc: 13095-done <at> debbugs.gnu.org
Subject: Re: bug#13095: http-get: Throw to key `bad-response' with args `("EOF
	while reading response body: ...)'
Date: Sat, 12 Jan 2013 14:47:39 +0000
Ian Price <ianprice90 <at> googlemail.com> writes:

> I'm going to withhold pushing a patch and closing this bug for the
> moment, until I'm satisfied of the reason why this is the problem.

Well, I never did get a satisfying reason, but Andy Wingo pushed the
obvious fix for this issue in response to a different users report.
https://lists.gnu.org/archive/html/guile-user/2013-01/msg00006.html

The commit is ed3e8b8e06adaaa1df5085a0f730d42efa3f5c30 for http-get, and
http-get* (now deprecated) inherits this improvement in
990b11c53f8da2a6c14e1190bc4e76939db32d07.

Thank you for your report.

-- 
Ian Price -- shift-reset.com

"Programming is like pinball. The reward for doing it well is
the opportunity to do it again" - from "The Wizardy Compiled"

[Message part 3 (message/rfc822, inline)]
From: Nikita Karetnikov <nikita.karetnikov <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: http-get: Throw to key `bad-response' with args `("EOF while reading
	response body: ...)'
Date: Thu, 6 Dec 2012 02:20:45 +0300
Hi,

I'm using Guile 2.0.7. 'http-get' fails to download the file.

scheme@(guile-user)> (http-get (string->uri
"http://citylan.dl.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.9/libusb-1.0.9.tar.bz2"))
ERROR: In procedure get-bytevector-all:
ERROR: Throw to key `bad-response' with args `("EOF while reading
response body: ~a bytes of ~a" (12731 421971))'.

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
scheme@(guile-user) [1]> ,bt
In web/client.scm:
    131:4  1 (http-get #<<uri> scheme: http userinfo: #f host: "cit…> …)
In unknown file:
           0 (get-bytevector-all #<input: r6rs-custom-binary-input-p…>)

$ wget --spider
http://citylan.dl.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.9/libusb-1.0.9.tar.bz2
Spider mode enabled. Check if remote file exists.

[...]

Length: 421971 (412K) [application/octet-stream]
Remote file exists.

Also, check this thread. [1]

Nikita

[1] https://lists.gnu.org/archive/html/bug-guix/2012-12/msg00033.html



This bug report was last modified 12 years and 187 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.