]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
It is not sufficient to reset the file pointer before each call to ap_send_fd. A...
authorBill Stoddard <stoddard@apache.org>
Thu, 11 Jan 2001 18:50:09 +0000 (18:50 +0000)
committerBill Stoddard <stoddard@apache.org>
Thu, 11 Jan 2001 18:50:09 +0000 (18:50 +0000)
commit0e4084c6c2a768a54507ffb68d34a93da2504d26
tree2df7263fa2b39f66c9faec0c7b0983badc725f70
parent53be4943d328894c29421cba2bdd15a17793bc3f
It is not sufficient to reset the file pointer before each call to ap_send_fd.  A better solution
is to make certain that only apr_sendfile() will be used to send content with a cached file handle.
This assumes that apr_sendfile() should not rely on the position of the file pointer. I suspect that
sendfile implementations that rely on the position of the file pointer are broken and we should not
use sendfile on those platforms.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87654 13f79535-47bb-0310-9956-ffa450edef68
modules/cache/mod_file_cache.c