From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.lisp.guile.bugs Subject: bug#13095: http-get: Throw to key `bad-response' with args `("EOF while reading response body: ...)' Date: Mon, 10 Dec 2012 8:45:41 -0500 Message-ID: <20121210134542.4VV04.54259.root@cdptpa-web34-z02.mail.rr.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1355147197 28505 80.91.229.3 (10 Dec 2012 13:46:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Dec 2012 13:46:37 +0000 (UTC) Cc: 13095@debbugs.gnu.org, Ian Price To: Thien-Thi Nguyen , Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Dec 10 14:46:50 2012 Return-path: Envelope-to: guile-bugs@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 1Ti3h3-000466-Fe for guile-bugs@m.gmane.org; Mon, 10 Dec 2012 14:46:49 +0100 Original-Received: from localhost ([::1]:46827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ti3gq-0004rM-Tn for guile-bugs@m.gmane.org; Mon, 10 Dec 2012 08:46:36 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ti3gi-0004X4-Pn for bug-guile@gnu.org; Mon, 10 Dec 2012 08:46:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ti3gh-0006Au-EP for bug-guile@gnu.org; Mon, 10 Dec 2012 08:46:28 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ti3gh-0006Aq-C0 for bug-guile@gnu.org; Mon, 10 Dec 2012 08:46:27 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Ti3hG-0003Du-D0 for bug-guile@gnu.org; Mon, 10 Dec 2012 08:47:02 -0500 X-Loop: help-debbugs@gnu.org 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: Original-Received: via spool by 13095-submit@debbugs.gnu.org id=B13095.135514718412341 (code B ref 13095); Mon, 10 Dec 2012 13:47:02 +0000 Original-Received: (at 13095) by debbugs.gnu.org; 10 Dec 2012 13:46:24 +0000 Original-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 Original-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 Original-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 In-Reply-To: <87y5h8i068.fsf@gnu.org> X-Priority: 3 (Normal) Sensitivity: Normal X-Originating-IP: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:6664 Archived-At: ---- "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