summaryrefslogtreecommitdiffhomepage
path: root/auto/sources
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2015-06-11 20:42:31 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2015-06-11 20:42:31 +0300
commit9984f3053f7c7f027aae9188111c4571962ff90c (patch)
tree8b8ad9c738f2a637e0cdd2e97fd9b8a180b1c2bb /auto/sources
parentdd41bfd47a139a3fb4307f16faab7cdcbd8b1041 (diff)
downloadnginx-9984f3053f7c7f027aae9188111c4571962ff90c.tar.gz
nginx-9984f3053f7c7f027aae9188111c4571962ff90c.tar.bz2
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.
Diffstat (limited to 'auto/sources')
-rw-r--r--auto/sources3
1 files changed, 2 insertions, 1 deletions
diff --git a/auto/sources b/auto/sources
index b5bb92ca5..44fba5159 100644
--- a/auto/sources
+++ b/auto/sources
@@ -19,6 +19,7 @@ CORE_DEPS="src/core/nginx.h \
src/core/ngx_queue.h \
src/core/ngx_string.h \
src/core/ngx_parse.h \
+ src/core/ngx_parse_time.h \
src/core/ngx_inet.h \
src/core/ngx_file.h \
src/core/ngx_crc.h \
@@ -53,6 +54,7 @@ CORE_SRCS="src/core/nginx.c \
src/core/ngx_output_chain.c \
src/core/ngx_string.c \
src/core/ngx_parse.c \
+ src/core/ngx_parse_time.c \
src/core/ngx_inet.c \
src/core/ngx_file.c \
src/core/ngx_crc32.c \
@@ -303,7 +305,6 @@ HTTP_SRCS="src/http/ngx_http.c \
src/http/ngx_http_script.c \
src/http/ngx_http_upstream.c \
src/http/ngx_http_upstream_round_robin.c \
- src/http/ngx_http_parse_time.c \
src/http/modules/ngx_http_static_module.c \
src/http/modules/ngx_http_index_module.c \
src/http/modules/ngx_http_chunked_filter_module.c \