]> granicus.if.org Git - apache/commit
Improve the FCGI/CGI Last-Modified header value handling.
authorLuca Toscano <elukey@apache.org>
Sun, 3 Jul 2016 09:48:06 +0000 (09:48 +0000)
committerLuca Toscano <elukey@apache.org>
Sun, 3 Jul 2016 09:48:06 +0000 (09:48 +0000)
commitedf1a4d4baf6897a75afca6b998be559fc69cbee
tree340bb17f1e9b5e8d06e9bbab020b389d31ab98ad
parent664da9b328112ad799690770183098f392318f18
Improve the FCGI/CGI Last-Modified header value handling.

Patch from Yann after a discussion on the dev@ mailing list.
ap_scan_script_header_err_core_ex is now using apr_date_parse_rfc
in order to recognize non-GMT datestr following RFC822/1123
and transforming them to GMT rather than replacing the value
with GMT now (that could add httpd's processing time to the
original value). Logging has also been improved from my initial
solution.

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