Definition:
time_t ap_rationalize_mtime(request_rec *r, time_t mtime);
Usage example:
time_t mtime_to_use;
mtime_to_use = ap_rationalize_mtime(r, finfo.st_mtime);
This routine is used to ensure compliance with the HTTP RFCs,
which forbid a value for the Last-modified response
header field that is in the future. This response header field is
set from the value in the r->mtime field.
ap_rationalize_mtime()
compares the specified time value against the current
clock, and sets the r->mtime field to
whichever is earlier.
Previous: ap_pvsprintf
Next: ap_read_config
Table of Contents
(Routines,
Structures,
Data Cells,
Constants)