From owner-freebsd-arch Wed Sep 6 14:40:32 2000 Delivered-To: freebsd-arch@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 37EA737B423; Wed, 6 Sep 2000 14:40:30 -0700 (PDT) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.9.3/8.9.3) with SMTP id RAA20687; Wed, 6 Sep 2000 17:37:16 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Wed, 6 Sep 2000 17:37:16 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Jeroen Ruigrok/Asmodai Cc: Dan Moschuk , arch@freebsd.org Subject: Re: ftpd and sendfile() In-Reply-To: <20000906214109.B58347@daemon.ninth-circle.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 6 Sep 2000, Jeroen Ruigrok/Asmodai wrote: > -On [20000905 18:03], Robert Watson (rwatson@freebsd.org) wrote: > > > >(a) Make sure it doesn't break ASCII mode > > Simple, you don't use sendfile() for ASCII. Or, determine when sending in ASCII would result in a data transformation. In any case, that would be a fine solution: I just recommend against breaking it :-). Robert N M Watson robert@fledge.watson.org http://www.watson.org/~robert/ PGP key fingerprint: AF B5 5F FF A6 4A 79 37 ED 5F 55 E9 58 04 6A B1 TIS Labs at Network Associates, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message