Skip site navigation (1)Skip section navigation (2)
Date:      17 Jul 2000 23:38:23 +0200
From:      Dag-Erling Smorgrav <des@flood.ping.uio.no>
To:        "Akinori -Aki- MUSHA" <knu@idaemons.org>
Cc:        current@FreeBSD.org
Subject:   Re: fetch(1) bug?
Message-ID:  <xzp1z0sxws0.fsf@flood.ping.uio.no>
In-Reply-To: "Akinori -Aki- MUSHA"'s message of "Tue, 18 Jul 2000 02:10:55 %2B0900"
References:  <861z0sr8bk.wl@localhost.local.idaemons.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"Akinori -Aki- MUSHA" <knu@idaemons.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp1z0sxws0.fsf>