From owner-freebsd-current Mon Jul 17 14:38:40 2000 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 66D0337B524 for ; Mon, 17 Jul 2000 14:38:32 -0700 (PDT) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id XAA37939; Mon, 17 Jul 2000 23:38:23 +0200 (CEST) (envelope-from des@flood.ping.uio.no) To: "Akinori -Aki- MUSHA" Cc: current@FreeBSD.org Subject: Re: fetch(1) bug? References: <861z0sr8bk.wl@localhost.local.idaemons.org> From: Dag-Erling Smorgrav Date: 17 Jul 2000 23:38:23 +0200 In-Reply-To: "Akinori -Aki- MUSHA"'s message of "Tue, 18 Jul 2000 02:10:55 +0900" Message-ID: Lines: 44 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Akinori -Aki- MUSHA" writes: > Hi, I found a weird problem with your new fetch(1). Actually, it's not as simple as I thought. It's a bug in the HTTP server that runs on www.hiei.kit.ac.jp, which triggers a misfeature of fetch(1), which causes it to fail to properly work around a second bug in the server. des@md5 ~% fetch http://www.hiei.kit.ac.jp:80/%7Ehitomi/mutt/manual_ja-1.2i-0.tar.gz ---> www.hiei.kit.ac.jp:80 >>> HEAD /%7Ehitomi/mutt/manual_ja-1.2i-0.tar.gz HTTP/1.1 >>> Host: www.hiei.kit.ac.jp:80 >>> User-Agent: fetch libfetch/2.0 >>> Connection: close >>> <<< HTTP/1.1 200 OK <<< Server: SWS-1.0 <<< Date: Mon, 17 Jul 2000 18:06:37 GMT <<< Content-Type: application/x-gzip <<< Last-Modified: Thu, 06 Jul 2000 00:06:51 GMT <<< Accept-Ranges: bytes <<< ---> www.hiei.kit.ac.jp:80 >>> GET /%7Ehitomi/mutt/manual_ja-1.2i-0.tar.gz HTTP/1.1 >>> Host: www.hiei.kit.ac.jp:80 >>> User-Agent: fetch libfetch/2.0 >>> Connection: close >>> <<< HTTP/1.1 200 OK <<< Server: SWS-1.0 <<< Date: Mon, 17 Jul 2000 18:06:39 GMT <<< Content-Type: application/x-gzip <<< Last-Modified: Thu, 06 Jul 2000 00:06:51 GMT <<< Accept-Ranges: bytes <<< Content-Length: 262692 <<< I've spent most of the night fixing this and am about to commit the last changes, so you should be able to cvsup and build working libfetch and fetch in an hour or two. DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message