From unknown Sun Aug 10 09:14:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13095: http-get: Throw to key `bad-response' with args `("EOF while reading response body: ...)' Resent-From: Nikita Karetnikov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 05 Dec 2012 23:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13095 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 13095@debbugs.gnu.org X-Debbugs-Original-To: bug-guile@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.135475070128252 (code B ref -1); Wed, 05 Dec 2012 23:39:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Dec 2012 23:38:21 +0000 Received: from localhost ([127.0.0.1]:55476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TgOXi-0007LZ-Us for submit@debbugs.gnu.org; Wed, 05 Dec 2012 18:38:20 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47344) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TgOH0-0006iw-HM for submit@debbugs.gnu.org; Wed, 05 Dec 2012 18:21:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TgOGm-0001Wa-Q5 for submit@debbugs.gnu.org; Wed, 05 Dec 2012 18:20:52 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-102.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:48582) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgOGm-0001WW-Mm for submit@debbugs.gnu.org; Wed, 05 Dec 2012 18:20:48 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgOGl-0003g9-Gw for bug-guile@gnu.org; Wed, 05 Dec 2012 18:20:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TgOGk-0001WI-AS for bug-guile@gnu.org; Wed, 05 Dec 2012 18:20:47 -0500 Received: from mail-vc0-f169.google.com ([209.85.220.169]:41070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgOGk-0001WE-3x for bug-guile@gnu.org; Wed, 05 Dec 2012 18:20:46 -0500 Received: by mail-vc0-f169.google.com with SMTP id gb23so5976475vcb.0 for ; Wed, 05 Dec 2012 15:20:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=KhkB79Rdl/DQrDOaDtKFdM5jftBAqB8h/FLMLby7ag0=; b=sA8epgY+oB5Nr3UC8eypfRdrlqfsnhkN31Es/GbEggMluVf4vFGoIDilhfKpRe7EtR 0BKFOKhm3rDpxNX2ar16ecG2tUD2NruY0pi/yaaHhQkop2v4EXPMY1V8tMKyX1wv3iqU 9DSxRv93XRoHc5aQ5eC0i8cQ7T/w0t9ID1sj4VweibJ9ZPhtYdDyQl0MR+MjVeC4pjK7 X+prZ0c7jdais6dgABjIw8nxWVQWG93JlFv8p7EzTIKI0S4lfUXpnP7Zu/G0iMtOpHcl q2rlLcQHh1hAa4+2Dk8m9jOTj2OtVkwqLarE0FKNGCq7YIoMHkdND8rlqqCe/4LkggCn TmCg== MIME-Version: 1.0 Received: by 10.220.119.196 with SMTP id a4mr16679745vcr.19.1354749645588; Wed, 05 Dec 2012 15:20:45 -0800 (PST) Received: by 10.220.231.131 with HTTP; Wed, 5 Dec 2012 15:20:45 -0800 (PST) Date: Thu, 6 Dec 2012 02:20:45 +0300 Message-ID: From: Nikita Karetnikov Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -3.4 (---) X-Mailman-Approved-At: Wed, 05 Dec 2012 18:38:17 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.7 (----) 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/l= ibusb-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 #< scheme: http userinfo: #f host: "cit=85> =85= ) In unknown file: 0 (get-bytevector-all #) $ wget --spider http://citylan.dl.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.9/li= busb-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 From unknown Sun Aug 10 09:14:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13095: http-get: Throw to key `bad-response' with args `("EOF while reading response body: ...)' Resent-From: Ian Price Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Sat, 08 Dec 2012 20:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13095 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: Nikita Karetnikov Cc: 13095@debbugs.gnu.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 13095-submit@debbugs.gnu.org id=B13095.13549968283579 (code B ref 13095); Sat, 08 Dec 2012 20:01:02 +0000 Received: (at 13095) by debbugs.gnu.org; 8 Dec 2012 20:00:28 +0000 Received: from localhost ([127.0.0.1]:33208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ThQZX-0000vf-GT for submit@debbugs.gnu.org; Sat, 08 Dec 2012 15:00:28 -0500 Received: from mail-we0-f172.google.com ([74.125.82.172]:34006) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ThQZV-0000vV-41 for 13095@debbugs.gnu.org; Sat, 08 Dec 2012 15:00:25 -0500 Received: by mail-we0-f172.google.com with SMTP id r3so642533wey.3 for <13095@debbugs.gnu.org>; Sat, 08 Dec 2012 11:59:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=g1XjBBQqPkCXSNW44B6ewaOd7VQE5MjVtAzrhBk0Uic=; b=zroanqydozUiNlOuESAHJCvWQaTOdcWo8AbeYSVzf+bEbM8LaUIAcrP7CpvIK9di9c U18+VY7H/MIEgieZFclnl1uOPLrp2gIlSovhqqFsxHkh2WXLjpEaScRlpD7jR+0Tezju f2mENyHNlg0l/rZvn37D1lWxDKoHuC287bRRHy0z3SkWUu2IoVFEekqcH9eKft9k1o0E vxogx3vMHnrRl1cjLa1IWf6SFf6OZfpZFv98LdsEv9+Y5lC/BjYLt/mpXwudNVH1fikx kp52BTpNY3Ra50fZ+/hiL17B2aBSsEHiCj5QExOZ/j9OWNZ9kbwR32zLsp65mp7Jtp25 d6sw== Received: by 10.216.73.11 with SMTP id u11mr3453516wed.221.1354996797276; Sat, 08 Dec 2012 11:59:57 -0800 (PST) Received: from Kagami.home (host86-177-158-15.range86-177.btcentralplus.com. [86.177.158.15]) by mx.google.com with ESMTPS id p2sm3963311wic.7.2012.12.08.11.59.55 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 08 Dec 2012 11:59:56 -0800 (PST) From: Ian Price References: Date: Sat, 08 Dec 2012 19:59:50 +0000 In-Reply-To: (Nikita Karetnikov's message of "Thu, 6 Dec 2012 02:20:45 +0300") Message-ID: <871uf0b9hl.fsf@Kagami.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Nikita Karetnikov writes: > 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))'. [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.8 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [86.177.158.15 listed in dnsbl.sorbs.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (ianprice90[at]googlemail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.172 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (ianprice90[at]googlemail.com) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4736] 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.3 (/) Nikita Karetnikov writes: > 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))'. This will run correctly if you call http-get with the #:keep-alive? keyword set to #t. If you don't run it with that, the connection gets closed automatically, and so you'll get an EOF down the line when it tries to read from the port. I think this is a bug. The intended semantics of keep-alive? (I believe) is to keep it alive _after_ the request (including the body) is finished, not just the request headers. Strange though, I never noticed this come up when adding the chunked support in the first place. -- 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" From unknown Sun Aug 10 09:14:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13095: http-get: Throw to key `bad-response' with args `("EOF while reading response body: ...)' Resent-From: Ian Price Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Sat, 08 Dec 2012 20:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13095 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: Nikita Karetnikov Cc: 13095@debbugs.gnu.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 13095-submit@debbugs.gnu.org id=B13095.13549972214130 (code B ref 13095); Sat, 08 Dec 2012 20:07:01 +0000 Received: (at 13095) by debbugs.gnu.org; 8 Dec 2012 20:07:01 +0000 Received: from localhost ([127.0.0.1]:33213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ThQfs-00014Y-UF for submit@debbugs.gnu.org; Sat, 08 Dec 2012 15:07:01 -0500 Received: from mail-wg0-f48.google.com ([74.125.82.48]:44543) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ThQfq-00014R-QL for 13095@debbugs.gnu.org; Sat, 08 Dec 2012 15:06:59 -0500 Received: by mail-wg0-f48.google.com with SMTP id dt10so883949wgb.15 for <13095@debbugs.gnu.org>; Sat, 08 Dec 2012 12:06:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=aqmrOuyUKJHwGEch/Eu07zuzwSyDJM32isX2cnsl2N8=; b=B/o5EHM4lCM64gDRpTMCT2e1AqOhIOUiiOQq1W/MdxD0/l3xID71IqPL0sCVDsNEyC Vn65VLpepSJoibjBymqsQIPx8JpuutELYXlQ3rr6XXIdpbBGnxF7nDJBRHxswSM2HIAM Qs4p7RjWgp0KzNPY36n/YER87wBy5eTizymE7EIfUW28MyxRBCYCY7JXbMIDWuyPEKyi BRf7ohlzjhvW/nVyKWU6436GQHGhrNhnv2XaJlhuLq/JNME5cv+dveGErNCk/7SDmYVH r4c9f7F3KqMd2oh/spVI2CsH1OCNbqFD0uCVhlfA+d09GPlFhrjBWaWTgJZeu2fQ2hZr 7rsw== Received: by 10.180.82.69 with SMTP id g5mr4158129wiy.21.1354997192316; Sat, 08 Dec 2012 12:06:32 -0800 (PST) Received: from Kagami.home (host86-177-158-15.range86-177.btcentralplus.com. [86.177.158.15]) by mx.google.com with ESMTPS id dm3sm3447180wib.9.2012.12.08.12.06.30 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 08 Dec 2012 12:06:31 -0800 (PST) From: Ian Price References: <871uf0b9hl.fsf@Kagami.home> Date: Sat, 08 Dec 2012 20:06:27 +0000 In-Reply-To: <871uf0b9hl.fsf@Kagami.home> (Ian Price's message of "Sat, 08 Dec 2012 19:59:50 +0000") Message-ID: <87wqws9um4.fsf@Kagami.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Ian Price writes: > Strange though, I never noticed this come up when adding the chunked > support in the first place. Actually, my apologies, I had noticed it since I use it in the tests. :/ [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.8 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [86.177.158.15 listed in dnsbl.sorbs.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (ianprice90[at]googlemail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.48 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (ianprice90[at]googlemail.com) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Ian Price writes: > Strange though, I never noticed this come up when adding the chunked > support in the first place. Actually, my apologies, I had noticed it since I use it in the tests. :/ [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.8 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [86.177.158.15 listed in dnsbl.sorbs.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.48 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (ianprice90[at]googlemail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (ianprice90[at]googlemail.com) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4950] 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid Ian Price writes: > Strange though, I never noticed this come up when adding the chunked > support in the first place. Actually, my apologies, I had noticed it since I use it in the tests. :/ -- 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" From unknown Sun Aug 10 09:14:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13095: http-get: Throw to key `bad-response' with args `("EOF while reading response body: ...)' Resent-From: Ian Price Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Sat, 08 Dec 2012 20:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13095 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: Nikita Karetnikov Cc: 13095@debbugs.gnu.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 13095-submit@debbugs.gnu.org id=B13095.13549997067702 (code B ref 13095); Sat, 08 Dec 2012 20:49:02 +0000 Received: (at 13095) by debbugs.gnu.org; 8 Dec 2012 20:48:26 +0000 Received: from localhost ([127.0.0.1]:33250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ThRJy-00020B-0V for submit@debbugs.gnu.org; Sat, 08 Dec 2012 15:48:26 -0500 Received: from mail-we0-f172.google.com ([74.125.82.172]:58477) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ThRJw-000200-5N for 13095@debbugs.gnu.org; Sat, 08 Dec 2012 15:48:25 -0500 Received: by mail-we0-f172.google.com with SMTP id r3so651990wey.3 for <13095@debbugs.gnu.org>; Sat, 08 Dec 2012 12:47:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=8mQxPIcoqwEhfxKMdXoIbwe3KlptCdEp8qhmNqG7xEs=; b=c2wbLVy4MrwqugPt1yxDwYN3/pyrWMKqBWgb1I7wMZv2uU7Q5KVrDhQ9K9Gyqpt6ty GrnV6GvsibpcV13wr+/L2WTZs8VVdB6mgAiedQ2yuoFifiJqmeLNsXTPA+VEbWJiv3Pq mIo4rLr+28uVSytDJ+aYmovif08rlipTJn9N5kkS9X6mRBEkYh/8M+0woztK7x0/vaf1 xTi2Pb75aQZy27HzZ5bqIsFDzsYdw86x2ggTdayBUp+4yBq5swkLqxhJJsL5DL08eUEZ RnLkaUUSeWVvF6VkwigKN6/D3GBxAEWRwWRAteUbvPNgEVIlhdrjif8TE7jjRzumyNtc 45AQ== Received: by 10.180.94.226 with SMTP id df2mr4284980wib.11.1354999675978; Sat, 08 Dec 2012 12:47:55 -0800 (PST) Received: from Kagami.home (host86-177-158-15.range86-177.btcentralplus.com. [86.177.158.15]) by mx.google.com with ESMTPS id u6sm4143413wif.2.2012.12.08.12.47.53 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 08 Dec 2012 12:47:54 -0800 (PST) From: Ian Price References: <871uf0b9hl.fsf@Kagami.home> <87wqws9um4.fsf@Kagami.home> Date: Sat, 08 Dec 2012 20:47:49 +0000 In-Reply-To: <87wqws9um4.fsf@Kagami.home> (Ian Price's message of "Sat, 08 Dec 2012 20:06:27 +0000") Message-ID: <87sj7g9sp6.fsf@Kagami.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Okay so, chunked encoding was a red herring on my part. I saw the # and jumped to conclusions. The actual port created was a "delimited port", which tries to read the appropriate amount of bytes according to the content-length header. [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.8 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [86.177.158.15 listed in dnsbl.sorbs.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (ianprice90[at]googlemail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.172 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (ianprice90[at]googlemail.com) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Okay so, chunked encoding was a red herring on my part. I saw the # and jumped to conclusions. The actual port created was a "delimited port", which tries to read the appropriate amount of bytes according to the content-length header. [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (ianprice90[at]googlemail.com) 0.8 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [86.177.158.15 listed in dnsbl.sorbs.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.172 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (ianprice90[at]googlemail.com) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4962] 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid Okay so, chunked encoding was a red herring on my part. I saw the # and jumped to conclusions. The actual port created was a "delimited port", which tries to read the appropriate amount of bytes according to the content-length header. Now, the problem, as I see it, is that when http-get (and http-get*) is called without the #:keep-alive? #t option, it will call (shutdown port 1)[0], which is to close the port for any outgoing traffic. This sounds fine in theory, but I think (I am no networking expert), that it is also preventing any requests for additional data. I do notice that it works correctly when I remove the calls to shutdown, which gives me confidence that it is the culprit, even if that analysis is not entirely correct (and I'm not sure it is) Removing the calls to shutdown should be fine, since when keep-alive? is #f, we close the ports after the read anyway. 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. 0. I have checked that 1 corresponds to SHUT_WR on my platform -- 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" From unknown Sun Aug 10 09:14:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13095: http-get: Throw to key `bad-response' with args `("EOF while reading response body: ...)' Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Sat, 08 Dec 2012 23:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13095 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: Thien-Thi Nguyen Cc: 13095@debbugs.gnu.org, Ian Price , Nikita Karetnikov Received: via spool by 13095-submit@debbugs.gnu.org id=B13095.135500999022772 (code B ref 13095); Sat, 08 Dec 2012 23:40:03 +0000 Received: (at 13095) by debbugs.gnu.org; 8 Dec 2012 23:39:50 +0000 Received: from localhost ([127.0.0.1]:33292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ThTzn-0005vC-KB for submit@debbugs.gnu.org; Sat, 08 Dec 2012 18:39:50 -0500 Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]:52388) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ThTzg-0005uy-Ac for 13095@debbugs.gnu.org; Sat, 08 Dec 2012 18:39:43 -0500 X-IronPort-AV: E=Sophos;i="4.84,245,1355094000"; d="scan'208";a="185257487" Received: from reverse-83.fdn.fr (HELO pluto) ([80.67.176.83]) by mail1-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 09 Dec 2012 00:39:12 +0100 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <871uf0b9hl.fsf@Kagami.home> <87wqws9um4.fsf@Kagami.home> <87sj7g9sp6.fsf@Kagami.home> <87d2ykqkiy.fsf@zigzag.favinet> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 19 Frimaire an 221 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu Date: Sun, 09 Dec 2012 00:39:11 +0100 In-Reply-To: <87d2ykqkiy.fsf@zigzag.favinet> (Thien-Thi Nguyen's message of "Sat, 08 Dec 2012 22:52:21 +0100") Message-ID: <87y5h8i068.fsf@gnu.org> User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -4.3 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) Thien-Thi Nguyen skribis: > HTTP 1.0 is "close by default", but HTTP 1.1 is "keep open by default", > if i recall correctly. Does that have anything to do w/ this bug? Note sure, because both http://citylan.dl.sourceforge.net (the example that fails) and http://ftp.gnu.org (one that works even with the =E2=80=98shutdown=E2=80=99 call) are HTTP 1.1: --8<---------------cut here---------------start------------->8--- scheme@(guile-user)> (use-modules (web client)(web uri)(rnrs io ports)) scheme@(guile-user)> (define resp (http-get (string->uri "http://citylan.dl= .sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.9/libusb-1.0.9.tar.bz= 2"))) scheme@(guile-user)> resp $1 =3D #< version: (1 . 1) code: 200 reason-phrase: "OK" headers:= ((server . "nginx/1.0.12") (date . #) (content-type app= lication/octet-stream) (content-length . 421971) (last-modified . #) (connection close) (accept-ranges bytes)) port: #> scheme@(guile-user)> (define resp* (http-get (string->uri "http://ftp.gnu.o= rg/gnu/hello/hello-2.8.tar.gz"))) scheme@(guile-user)> resp* $2 =3D #< version: (1 . 1) code: 200 reason-phrase: "OK" headers:= ((date . #) (server . "Apache/2.2.14 (Trisquel GNU/Linu= x)") (last-modified . #) (etag "4648b4-aa48b-4be1fff8662= 00" . #t) (accept-ranges bytes) (content-length . 697483) (connection close= ) (content-type application/x-gzip)) port: #> --8<---------------cut here---------------end--------------->8--- Thanks, Ludo=E2=80=99. From unknown Sun Aug 10 09:14:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13095: http-get: Throw to key `bad-response' with args `("EOF while reading response body: ...)' References: Resent-From: Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Mon, 10 Dec 2012 13:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13095 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: Thien-Thi Nguyen , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 13095@debbugs.gnu.org, Ian Price Received: via spool by 13095-submit@debbugs.gnu.org id=B13095.135514718412341 (code B ref 13095); Mon, 10 Dec 2012 13:47:02 +0000 Received: (at 13095) by debbugs.gnu.org; 10 Dec 2012 13:46:24 +0000 Received: from localhost ([127.0.0.1]:35051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ti3ga-0003Cw-Jx for submit@debbugs.gnu.org; Mon, 10 Dec 2012 08:46:24 -0500 Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.120]:50499) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ti3gY-0003Co-0M for 13095@debbugs.gnu.org; Mon, 10 Dec 2012 08:46:19 -0500 Authentication-Results: cdptpa-omtalb.mail.rr.com smtp.user=dsmich@roadrunner.com; auth=pass (LOGIN) X-Authority-Analysis: v=2.0 cv=OOOlLFmB c=1 sm=0 a=knbPBXGsK-kA:10 a=zTVDa7HKqxcA:10 a=IkcTkHD0fZMA:10 a=doupyKFmAAAA:8 a=ayC55rCoAAAA:8 a=Gw9JlsVCTHQA:10 a=mDV3o1hIAAAA:8 a=MSxwFR-BAAAA:8 a=FP58Ms26AAAA:8 a=7R--NR9L1sanx0WOsPEA:9 a=QEXdDO2ut3YA:10 a=ii61gXl28gQA:10 a=fBZ3Mtj9syAA:10 a=yddbfh5I4SnUg_6t:21 a=BOFuhg2nnaYYGubB:21 a=KOrh491K8B87fFeLgJkoRw==:117 X-Cloudmark-Score: 0 X-Authenticated-User: dsmich@roadrunner.com Received: from [10.127.132.185] ([10.127.132.185:40967] helo=cdptpa-web34-z02.mail.rr.com) by cdptpa-oedge03.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTPA id 89/34-21565-587E5C05; Mon, 10 Dec 2012 13:45:42 +0000 Message-ID: <20121210134542.4VV04.54259.root@cdptpa-web34-z02.mail.rr.com> Date: Mon, 10 Dec 2012 8:45:41 -0500 From: In-Reply-To: <87y5h8i068.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) Sensitivity: Normal X-Originating-IP: X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) ---- "Ludovic Court=C3=A8s" wrote:=20 > Thien-Thi Nguyen skribis: >=20 > > HTTP 1.0 is "close by default", but HTTP 1.1 is "keep open by default", > > if i recall correctly. Does that have anything to do w/ this bug? >=20 > Note sure, because both http://citylan.dl.sourceforge.net (the example > that fails) and http://ftp.gnu.org (one that works even with the > =E2=80=98shutdown=E2=80=99 call) are HTTP 1.1: >=20 > --8<---------------cut here---------------start------------->8--- > scheme@(guile-user)> (use-modules (web client)(web uri)(rnrs io ports)) > scheme@(guile-user)> (define resp (http-get (string->uri "http://citylan.= dl.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.9/libusb-1.0.9.tar.= bz2"))) > scheme@(guile-user)> resp > $1 =3D #< version: (1 . 1) code: 200 reason-phrase: "OK" header= s: ((server . "nginx/1.0.12") (date . #) (content-type a= pplication/octet-stream) (content-length . 421971) (last-modified . #) (connection close) (accept-ranges bytes)) port: #> > scheme@(guile-user)> (define resp* (http-get (string->uri "http://ftp.gnu= .org/gnu/hello/hello-2.8.tar.gz"))) > scheme@(guile-user)> resp* > $2 =3D #< version: (1 . 1) code: 200 reason-phrase: "OK" header= s: ((date . #) (server . "Apache/2.2.14 (Trisquel GNU/Li= nux)") (last-modified . #) (etag "4648b4-aa48b-4be1fff86= 6200" . #t) (accept-ranges bytes) (content-length . 697483) (connection clo= se) (content-type application/x-gzip)) port: #> > --8<---------------cut here---------------end--------------->8--- Hmm.. The failing site is running on nginx/1.0.12 while the working site i= s Apache/2.2.14. -Dale From unknown Sun Aug 10 09:14:43 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Nikita Karetnikov Subject: bug#13095: closed (Re: bug#13095: http-get: Throw to key `bad-response' with args `("EOF while reading response body: ...)') Message-ID: References: <87ip72a25w.fsf@Kagami.home> X-Gnu-PR-Message: they-closed 13095 X-Gnu-PR-Package: guile Reply-To: 13095@debbugs.gnu.org Date: Sat, 12 Jan 2013 14:49:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1358002142-32049-1" This is a multi-part message in MIME format... ------------=_1358002142-32049-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #13095: http-get: Throw to key `bad-response' with args `("EOF while readin= g 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@debbugs.gnu.org. --=20 13095: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D13095 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1358002142-32049-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 13095-done) by debbugs.gnu.org; 12 Jan 2013 14:48:06 +0000 Received: from localhost ([127.0.0.1]:56479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tu2NR-0008Jh-Vw for submit@debbugs.gnu.org; Sat, 12 Jan 2013 09:48:06 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:53335) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tu2NP-0008JB-6S for 13095-done@debbugs.gnu.org; Sat, 12 Jan 2013 09:48:04 -0500 Received: by mail-we0-f169.google.com with SMTP id t49so1346694wey.14 for <13095-done@debbugs.gnu.org>; Sat, 12 Jan 2013 06:47:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=olds1uA9cH43po8g/G1CypE2RfKLiVqWzvjIhSjxnys=; b=KERscIttau4pU+S/P/WpAOob41EO8TAZE8hdQ134K+ILFAwBzBSly9bGj4qk7v82fC tL1DYT5/8EQcA1isZLepoGpAcFP675+E12J10yMtAt7cZrBVHkPULgbKiM8V/9VQvQT/ gQxiWdvzwNKhzCkKN4Po2wVDx0hwVrqSyW6ha/WV9tt/DYMBfEvGNVwNwOH+FPd9McB8 7OUEdf0lH/gElgrHz0WSUsO8h5lZiZ8UBKxa/OyGsnn/f3drSFgtSx0cLCELsuvXwNl7 0daQA64uzG6QiEm+Wk+/F+/8im8kn5DB9J7GuhBkcqMzfG8a4Eub8hZv2+0GjP/UdP4q egYQ== X-Received: by 10.194.90.238 with SMTP id bz14mr117742389wjb.9.1358002064651; Sat, 12 Jan 2013 06:47:44 -0800 (PST) Received: from Kagami.home (host86-130-197-178.range86-130.btcentralplus.com. [86.130.197.178]) by mx.google.com with ESMTPS id ew4sm4306428wid.11.2013.01.12.06.47.43 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 12 Jan 2013 06:47:43 -0800 (PST) From: Ian Price To: Nikita Karetnikov Subject: Re: bug#13095: http-get: Throw to key `bad-response' with args `("EOF while reading response body: ...)' References: <871uf0b9hl.fsf@Kagami.home> <87wqws9um4.fsf@Kagami.home> <87sj7g9sp6.fsf@Kagami.home> Date: Sat, 12 Jan 2013 14:47:39 +0000 In-Reply-To: <87sj7g9sp6.fsf@Kagami.home> (Ian Price's message of "Sat, 08 Dec 2012 20:47:49 +0000") Message-ID: <87ip72a25w.fsf@Kagami.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 13095-done Cc: 13095-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.9 (/) Ian Price 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" ------------=_1358002142-32049-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 5 Dec 2012 23:38:21 +0000 Received: from localhost ([127.0.0.1]:55476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TgOXi-0007LZ-Us for submit@debbugs.gnu.org; Wed, 05 Dec 2012 18:38:20 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47344) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TgOH0-0006iw-HM for submit@debbugs.gnu.org; Wed, 05 Dec 2012 18:21:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TgOGm-0001Wa-Q5 for submit@debbugs.gnu.org; Wed, 05 Dec 2012 18:20:52 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-102.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:48582) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgOGm-0001WW-Mm for submit@debbugs.gnu.org; Wed, 05 Dec 2012 18:20:48 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgOGl-0003g9-Gw for bug-guile@gnu.org; Wed, 05 Dec 2012 18:20:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TgOGk-0001WI-AS for bug-guile@gnu.org; Wed, 05 Dec 2012 18:20:47 -0500 Received: from mail-vc0-f169.google.com ([209.85.220.169]:41070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgOGk-0001WE-3x for bug-guile@gnu.org; Wed, 05 Dec 2012 18:20:46 -0500 Received: by mail-vc0-f169.google.com with SMTP id gb23so5976475vcb.0 for ; Wed, 05 Dec 2012 15:20:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=KhkB79Rdl/DQrDOaDtKFdM5jftBAqB8h/FLMLby7ag0=; b=sA8epgY+oB5Nr3UC8eypfRdrlqfsnhkN31Es/GbEggMluVf4vFGoIDilhfKpRe7EtR 0BKFOKhm3rDpxNX2ar16ecG2tUD2NruY0pi/yaaHhQkop2v4EXPMY1V8tMKyX1wv3iqU 9DSxRv93XRoHc5aQ5eC0i8cQ7T/w0t9ID1sj4VweibJ9ZPhtYdDyQl0MR+MjVeC4pjK7 X+prZ0c7jdais6dgABjIw8nxWVQWG93JlFv8p7EzTIKI0S4lfUXpnP7Zu/G0iMtOpHcl q2rlLcQHh1hAa4+2Dk8m9jOTj2OtVkwqLarE0FKNGCq7YIoMHkdND8rlqqCe/4LkggCn TmCg== MIME-Version: 1.0 Received: by 10.220.119.196 with SMTP id a4mr16679745vcr.19.1354749645588; Wed, 05 Dec 2012 15:20:45 -0800 (PST) Received: by 10.220.231.131 with HTTP; Wed, 5 Dec 2012 15:20:45 -0800 (PST) Date: Thu, 6 Dec 2012 02:20:45 +0300 Message-ID: Subject: http-get: Throw to key `bad-response' with args `("EOF while reading response body: ...)' From: Nikita Karetnikov To: bug-guile@gnu.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 05 Dec 2012 18:38:17 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.7 (----) 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/l= ibusb-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 #< scheme: http userinfo: #f host: "cit=85> =85= ) In unknown file: 0 (get-bytevector-all #) $ wget --spider http://citylan.dl.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.9/li= busb-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 ------------=_1358002142-32049-1--