aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_core.h
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 /src/core/ngx_core.h
parentdd41bfd47a139a3fb4307f16faab7cdcbd8b1041 (diff)
downloadnginx-9984f3053f7c7f027aae9188111c4571962ff90c.tar.gz
nginx-9984f3053f7c7f027aae9188111c4571962ff90c.zip
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 'src/core/ngx_core.h')
-rw-r--r--src/core/ngx_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ngx_core.h b/src/core/ngx_core.h
index a279c81d6..6b317056a 100644
--- a/src/core/ngx_core.h
+++ b/src/core/ngx_core.h
@@ -54,6 +54,7 @@ typedef void (*ngx_connection_handler_pt)(ngx_connection_t *c);
#include <ngx_process.h>
#include <ngx_user.h>
#include <ngx_parse.h>
+#include <ngx_parse_time.h>
#include <ngx_log.h>
#include <ngx_alloc.h>
#include <ngx_palloc.h>