httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Akins <>
Subject [PATCH] mod_disk_cache move info to recall_body
Date Wed, 25 Jan 2006 20:44:59 GMT
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

View raw message