Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Aug 2000 09:27:49 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Dag-Erling Smorgrav <des@flood.ping.uio.no>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: is fetch broken?
Message-ID:  <4.3.2.7.0.20000801092010.04782d70@marble.sentex.ca>
In-Reply-To: <xzpaeexnsxr.fsf@flood.ping.uio.no>
References:  <"Dan Langille"'s message of "Sun, 30 Jul 2000 22:17:15 %2B1200"> <20000729174208.F59315@strontium.scientia.demon.co.uk> <3984A96B.25614.32C9659A@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
At 01:04 PM 8/1/00 +0200, Dag-Erling Smorgrav wrote:
>Please provide revision numbers or checkout dates for working /
>non-working versions.

working
$FreeBSD: src/usr.bin/fetch/http.c,v 1.31 2000/03/08 13:02:10 cracauer Exp $
 From July 14th

non working
$FreeBSD: src/usr.bin/fetch/fetch.c,v 1.10.2.6 2000/07/26 07:56:16 des Exp $
July 28th


>If at all possible, rebuild libfetch with DEBUG defined (see
>instructions below) and mail me the output of failed transfers.

newmail# fetch http://www.netscape.com/index.html
scheme:   [http]
user:     []
password: []
host:     [www.netscape.com]
port:     [0]
document: [/index.html]
---> www.netscape.com:80
 >>> GET /index.html HTTP/1.1
 >>> Host: www.netscape.com
 >>> User-Agent: fetch libfetch/2.0
 >>> Connection: close
 >>>
<<< HTTP/1.1 200 OK
<<< Server: Netscape-Enterprise/4.1
<<< Date: Tue, 01 Aug 2000 13:28:19 GMT
<<< Set-Cookie: 
UIDC=207.245.238.163:0965136499:466110;domain=.netscape.com;path=/;expires=31-Dec-2010 
23:59:59 GMT
<<< Content-type: text/html
<<< Connection: close
<<<
offset: 0, length: -1, size: -1, clength: -1
Receiving index.html (4294967295 bytes): 0%
45088 bytes transferred in 0.8 seconds (53.11 kBps)
fetch: index.html appears to be truncated: 45088/4294967295 bytes

newmail# fetch http://www.sentex.net/index.html
scheme:   [http]
user:     []
password: []
host:     [www.sentex.net]
port:     [0]
document: [/index.html]
---> www.sentex.net:80
 >>> GET /index.html HTTP/1.1
 >>> Host: www.sentex.net
 >>> User-Agent: fetch libfetch/2.0
 >>> Connection: close
 >>>
<<< HTTP/1.1 200 OK
<<< Date: Tue, 01 Aug 2000 13:28:30 GMT
<<< Server: Apache/1.3.9 (Unix)
<<< Connection: close
<<< Transfer-Encoding: chunked
<<< Content-Type: text/html
<<<
offset: 0, length: -1, size: -1, clength: -1
Receiving index.html (4294967295 bytes): 0%<<< cff
_http_fillbuf(): new chunk: 3327 (3327)
<<< 0
_http_fillbuf(): end of last chunk
Receiving index.html (4294967295 bytes): 0%
3327 bytes transferred in 0.1 seconds (34.10 kBps)
fetch: index.html appears to be truncated: 3327/4294967295 bytes
newmail#

and one that works for some reason

newmail#  fetch http://www.microsoft.com/default.htm
scheme:   [http]
user:     []
password: []
host:     [www.microsoft.com]
port:     [0]
document: [/default.htm]
---> www.microsoft.com:80
 >>> GET /default.htm HTTP/1.1
 >>> Host: www.microsoft.com
 >>> User-Agent: fetch libfetch/2.0
 >>> Connection: close
 >>>
<<< HTTP/1.1 200 OK
<<< Server: Microsoft-IIS/5.0
<<< Connection: close
<<< Date: Tue, 01 Aug 2000 13:28:50 GMT
<<< Content-Type: text/html
<<< Accept-Ranges: bytes
<<< Last-Modified: Mon, 31 Jul 2000 18:09:33 GMT
last modified: [2000-07-31 18:09:33]
<<< ETag: "f4cbbb7a1afbbf1:87e"
<<< Content-Length: 15957
content length: [15957]
<<<
offset: 0, length: -1, size: -1, clength: 15957
Receiving default.htm (15957 bytes): 100%
15957 bytes transferred in 0.3 seconds (48.24 kBps)


------------------------------------------------------------------------
Mike Tancsa,                                      tel +1 519 651 3400
Sentex Communications                             mike@sentex.net
Cambridge, Ontario Canada                         www.sentex.net



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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