From owner-freebsd-libh Tue Dec 4 11:33:10 2001 Delivered-To: freebsd-libh@freebsd.org Received: from tomts14-srv.bellnexxia.net (tomts14.bellnexxia.net [209.226.175.35]) by hub.freebsd.org (Postfix) with ESMTP id CBEBF37B41B for ; Tue, 4 Dec 2001 11:33:07 -0800 (PST) Received: from khan.anarcat.dyndns.org ([65.94.190.39]) by tomts14-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20011204193307.ZMFG16262.tomts14-srv.bellnexxia.net@khan.anarcat.dyndns.org> for ; Tue, 4 Dec 2001 14:33:07 -0500 Received: from shall.anarcat.dyndns.org (shall.anarcat.dyndns.org [192.168.0.1]) by khan.anarcat.dyndns.org (Postfix) with ESMTP id 4FA081AD4 for ; Tue, 4 Dec 2001 14:37:38 -0500 (EST) Received: by shall.anarcat.dyndns.org (Postfix, from userid 1000) id 417B820ACD; Tue, 4 Dec 2001 14:34:37 -0500 (EST) Date: Tue, 4 Dec 2001 14:34:37 -0500 From: The Anarcat To: Libh Subject: implementation considerations of Fetch::download Message-ID: <20011204193437.GA17827@shall.anarcat.dyndns.org> Mail-Followup-To: The Anarcat , Libh Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline User-Agent: Mutt/1.3.23.2i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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