https://issues.apache.org/bugzilla/show_bug.cgi?id=39287

--- Comment #2 from Carsten Gaebler <[email protected]> ---
Created attachment 29237
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29237&action=edit
Fix If-Modified-Since "now" with non-mtime-aware resources, add missing
APR_DATE_BAD check.

No response within six years although the fix is easy:

Keep assuming that r->mtime == 0 means "now" but check for mtime == 0
explicitly instead of faking mtime = apr_time_now(). Note that this will break
the If-Unmodified-Since check if the requested resource really has an mtime of
1970-01-01T00:00:00 (but how likely is that?).

A thorough fix would be to introduce a "time unset" constant as already stated
in a comment by dgaudet.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to