Subject: Re: rfc2228 in ftpd
To: Aidan Cully <>
From: Tomas Svensson <>
List: tech-userlevel
Date: 06/24/2002 10:22:11
Sunday, June 23, 2002, 5:59:52 PM, you wrote:

AC> fflush is unnecessary with the sec_file structure...  We're using
AC> read()s and write()s directly, so we have control over the buffering
AC> strategy.  ferror may be a problem...  It needs investigation.

How is this buffering strategy, send everything when you get a
newline? Then implementing a sec_fflush would be better.

Also, is there any buffering at all when not using encryption? From

    if(f->io.prot == PROT_CLEAR)
        return (*f->>io, data, length);