]> 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)
commitd88b08d746292b0a126b7968ebf3404ed6e0b5eb
tree2df7263fa2b39f66c9faec0c7b0983badc725f70
parentf39fd562f62613f6c3a4567f4f2614ee59e70635
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