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>

next in thread | raw e-mail | index | archive | help

--mYCpIKhGyMATD0i+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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.

--mYCpIKhGyMATD0i+
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iEYEARECAAYFAjwNJUsACgkQttcWHAnWiGf3pgCdFhig1hMP0zFi2593KUM5TzKz
RtoAniAwEU58ieOWzoAJJqKqJy+H8do3
=KUt+
-----END PGP SIGNATURE-----

--mYCpIKhGyMATD0i+--

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




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