| 204 | } |
| 205 | |
| 206 | static const char *cachefilehandle(cmd_parms *cmd, void *dummy, const char *filename) |
| 207 | { |
| 208 | #if APR_HAS_SENDFILE |
| 209 | cache_the_file(cmd, filename, 0); |
| 210 | #else |
| 211 | /* Sendfile not supported by this OS */ |
| 212 | ap_log_error(APLOG_MARK, APLOG_WARNING, 0, cmd->server, APLOGNO(00800) |
| 213 | "unable to cache file: %s. Sendfile is not supported on this OS", filename); |
| 214 | #endif |
| 215 | return NULL; |
| 216 | } |
| 217 | static const char *cachefilemmap(cmd_parms *cmd, void *dummy, const char *filename) |
| 218 | { |
| 219 | #if APR_HAS_MMAP |
nothing calls this directly
no test coverage detected