]> granicus.if.org Git - apache/commit
After a long discussion in dev@ I reviewed my previous commit to only warn
authorLuca Toscano <elukey@apache.org>
Fri, 26 Aug 2016 11:00:44 +0000 (11:00 +0000)
committerLuca Toscano <elukey@apache.org>
Fri, 26 Aug 2016 11:00:44 +0000 (11:00 +0000)
commitdf532849b09111aa77a1d427a562eb2644fc8ab1
tree85354d7409afceef877e1367445b743b35f55dee
parent76ff7ad7c6b258caee3f932643c15061de4fb3ad
After a long discussion in dev@ I reviewed my previous commit to only warn
the admins about Last-Modified header violations rather than trying
to interpret datestrings (like the ones not in GMT).

I also added explicit comments to summarize the current assumptions,
so it will be easier for somebody in the future to modify the code.

The following use cases are covered:
1) (F)CGI backend sends a Last-Modified header not in GMT and considered in the future by httpd (like now() in the EU/Paris timezone)
2) (F)CGI backend sends a Last-Modified header not in GMT and not considered in the future by httpd (like now() + 2 hours in the PST timezone)
3) (F)CGI backend sends a Last-Modified header in GMT but with a datetime in the future

Suggestions and opinion are really welcome.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757818 13f79535-47bb-0310-9956-ffa450edef68
server/util_script.c