]> git.kaiwu.me - nginx.git/commit
Moved ngx_http_parse_time() to core, renamed accordingly.
authorMaxim Dounin <mdounin@mdounin.ru>
Thu, 11 Jun 2015 17:42:31 +0000 (20:42 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Thu, 11 Jun 2015 17:42:31 +0000 (20:42 +0300)
commit9984f3053f7c7f027aae9188111c4571962ff90c
tree8b8ad9c738f2a637e0cdd2e97fd9b8a180b1c2bb
parentdd41bfd47a139a3fb4307f16faab7cdcbd8b1041
Moved ngx_http_parse_time() to core, renamed accordingly.

The function is now called ngx_parse_http_time(), and can be used by
any code to parse HTTP-style date and time.  In particular, it will be
used for OCSP stapling.

For compatibility, a macro to map ngx_http_parse_time() to the new name
provided for a while.
auto/sources
src/core/ngx_core.h
src/core/ngx_parse_time.c [moved from src/http/ngx_http_parse_time.c with 98% similarity]
src/core/ngx_parse_time.h [new file with mode: 0644]
src/http/modules/ngx_http_dav_module.c
src/http/modules/ngx_http_headers_filter_module.c
src/http/modules/ngx_http_not_modified_filter_module.c
src/http/modules/ngx_http_range_filter_module.c
src/http/ngx_http.h
src/http/ngx_http_core_module.c
src/http/ngx_http_upstream.c