httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Stoddard" <b...@wstoddard.com>
Subject Re: core.c still broken..
Date Fri, 11 May 2001 20:36:04 GMT

> On Fri, 11 May 2001, Bill Stoddard wrote:
>
> > This piece of code is still broken.   We should not be calling
> > apr_bucket_read() on a file bucket unless the file is less than
> > AP_MIN_SENDFILE_BYTES.
>
> This isn't strictly true.  If the file is smaller than
> AP_MIN_BYTES_TO_WRITE, and we are on a keepalive connection, then we will
> read the file into memory.  This is done so that we don't have to allocate
> the file out of the connection pool.
>
> What exactly are you seeing?
>
> Ryan
>

Not using apr_sendfile() when we have a file descriptor on a 500 byte file.

Bill


Mime
View raw message