diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2015-06-11 20:42:31 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2015-06-11 20:42:31 +0300 |
commit | 9984f3053f7c7f027aae9188111c4571962ff90c (patch) | |
tree | 8b8ad9c738f2a637e0cdd2e97fd9b8a180b1c2bb /src/core/ngx_core.h | |
parent | dd41bfd47a139a3fb4307f16faab7cdcbd8b1041 (diff) |
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.h | 1 |
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> |