Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Dec 2001 14:34:37 -0500
From:      The Anarcat <anarcat@anarcat.dyndns.org>
To:        Libh <freebsd-libh@freebsd.org>
Subject:   implementation considerations of Fetch::download
Message-ID:  <20011204193437.GA17827@shall.anarcat.dyndns.org>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Err.. Fetch::download does this to download files:

		int c;
		while ( ( c = getc( in ) ) != EOF )
			putc( c, out );

That sucks. Erm, right? It seems so trivial to me that I can't seem to
scrap it. :) At least I'll try to implement a buffer with a size and all
these nice things. This buffer size could be set in the Configuration...

BTW, my mp3 player *skipped* when I tried to download
www.freebsd.org/index.html! I wonder if it's related. ;)

I'm probably end up hacking Fetch too. :)

A.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjwNJUsACgkQttcWHAnWiGf3pgCdFhig1hMP0zFi2593KUM5TzKz
RtoAniAwEU58ieOWzoAJJqKqJy+H8do3
=KUt+
-----END PGP SIGNATURE-----
home | help

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