You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brian Akins <br...@turner.com> on 2006/01/25 21:44:59 UTC

[PATCH] mod_disk_cache move info to recall_body

this moves the apr_file_info_get on the data fd to recall_body.  This 
saves a system call when we aren't going to serve the body (expired 
object, for example).

Question, in it's original place, we never handle the non success case, 
so I duplicated this behaviour here.  We should probably handle this 
error and complain.

Also, if we stored the data length in the headers file and did not write 
out the headers until the body, we could save s system call on every 
cache hit...


-- 
Brian Akins
Lead Systems Engineer
CNN Internet Technologies