comparison src/core/ngx_core.h @ 6180:8b6fa4842133

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.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 11 Jun 2015 20:42:31 +0300
parents cb790d1b2d16
children 0f203a2af17c
comparison
equal deleted inserted replaced
6179:c61210e2e081 6180:8b6fa4842133
52 #include <ngx_files.h> 52 #include <ngx_files.h>
53 #include <ngx_shmem.h> 53 #include <ngx_shmem.h>
54 #include <ngx_process.h> 54 #include <ngx_process.h>
55 #include <ngx_user.h> 55 #include <ngx_user.h>
56 #include <ngx_parse.h> 56 #include <ngx_parse.h>
57 #include <ngx_parse_time.h>
57 #include <ngx_log.h> 58 #include <ngx_log.h>
58 #include <ngx_alloc.h> 59 #include <ngx_alloc.h>
59 #include <ngx_palloc.h> 60 #include <ngx_palloc.h>
60 #include <ngx_buf.h> 61 #include <ngx_buf.h>
61 #include <ngx_queue.h> 62 #include <ngx_queue.h>