Re: fetch(1) bug?
At 17 Jul 2000 23:38:23 +0200, DES wrote: > 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. Thanks! I could confirm that your changes fixed the problem, and am happy to see them MFC'd before 4.1-RELEASE. :) -- / /__ __ / ) ) ) ) / Akinori -Aki- MUSHA aka / (_ / ( (__( @ idaemons.org / FreeBSD.org "We're only at home when we're on the run, on the wing, on the fly" To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: fetch(1) bug?
"Akinori -Aki- MUSHA" <[EMAIL PROTECTED]> 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 - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: fetch(1) bug?
Sorry, I seem to have supplied a wrong URL. Here's the correct one. http://www.hiei.kit.ac.jp/~hitomi/mutt/manual_ja-1.2i-0.tar.gz -- / /__ __ / ) ) ) ) / Akinori -Aki- MUSHA aka / (_ / ( (__( @ idaemons.org / FreeBSD.org "We're only at home when we're on the run, on the wing, on the fly" To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
fetch(1) bug?
Hi, I found a weird problem with your new fetch(1). Please try fetching the following file with both fetch and wget for comparison: http://www.hiei.kit.ac.jp/~hitomi/mutt/mutt/manual_ja-1.2i-0.tar.gz 1) Fetching the file with wget knu@archon[2]% uname -a ~ FreeBSD archon.local.idaemons.org 5.0-CURRENT FreeBSD 5.0-CURRENT #36: Sun Jul 16 21:17:50 JST 2000 [EMAIL PROTECTED]:/usr/src/sys/compile/ARCHON i386 knu@archon[2]% wget http://www.hiei.kit.ac.jp/~hitomi/mutt/manual_ja-1.2i-0.tar.gz --02:01:36-- http://www.hiei.kit.ac.jp:80/%7Ehitomi/mutt/manual_ja-1.2i-0.tar.gz => `manual_ja-1.2i-0.tar.gz.1' Connecting to www.hiei.kit.ac.jp:80... connected! HTTP request sent, awaiting response... 200 OK Length: 262,692 [application/x-gzip] 0K -> .. .. .. .. .. [ 19%] 50K -> .. .. .. .. .. [ 38%] 100K -> .. .. .. .. .. [ 58%] 150K -> .. .. .. .. .. [ 77%] 200K -> .. .. .. .. .. [ 97%] 250K -> .. [100%] 02:01:44 (33.20 KB/s) - `manual_ja-1.2i-0.tar.gz.1' saved [262692/262692] knu@archon[2]% ls -l manual_ja-1.2i-0.tar.gz ~ -rw-r--r-- 1 knu knu - 262692 Jul 6 09:06 manual_ja-1.2i-0.tar.gz knu@archon[2]% md5 manual_ja-1.2i-0.tar.gz~ MD5 (manual_ja-1.2i-0.tar.gz) = 809121b8baa58906fba7422de9c2b236 knu@archon[2]% tar ztf manual_ja-1.2i-0.tar.gz~ manual_ja.sgml manual_ja.tex manual_ja.txt manual_ja.html Seems fine. 2) Fetching the file with fetch knu@archon[2]% fetch -vv http://www.hiei.kit.ac.jp/~hitomi/mutt/manual_ja-1.2i-0.tar.gz looking up www.hiei.kit.ac.jp connecting to www.hiei.kit.ac.jp:80 requesting http://www.hiei.kit.ac.jp:80/~hitomi/mutt/manual_ja-1.2i-0.tar.gz looking up www.hiei.kit.ac.jp connecting to www.hiei.kit.ac.jp:80 requesting http://www.hiei.kit.ac.jp:80/~hitomi/mutt/manual_ja-1.2i-0.tar.gz Receiving manual_ja-1.2i-0.tar.gz: 262697 bytes 262697 bytes transferred in 7.7 seconds (33.16 kBps) knu@archon[2]% md5 manual_ja-1.2i-0.tar.gz~ MD5 (manual_ja-1.2i-0.tar.gz) = 3b078418a5fdcc765d8bea0fed3ee6dd knu@archon[2]% ls -l manual_ja-1.2i-0.tar.gz ~ -rw-r--r-- 1 knu knu - 262697 Jul 6 09:06 manual_ja-1.2i-0.tar.gz knu@archon[2]% tar ztf manual_ja-1.2i-0.tar.gz~ manual_ja.sgml manual_ja.tex manual_ja.txt manual_ja.html gzip: stdin: decompression OK, trailing garbage ignored tar: child returned status 2 Hmm, fetch(1) seems receiving extra 5 bytes of garbage. Have you got a clue? -- / /__ __ / ) ) ) ) / Akinori -Aki- MUSHA aka / (_ / ( (__( @ idaemons.org / FreeBSD.org "We're only at home when we're on the run, on the wing, on the fly" To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message