comparison src/http/ngx_http.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 c61210e2e081
children 257b51c37c5a
comparison
equal deleted inserted replaced
6179:c61210e2e081 6180:8b6fa4842133
146 ngx_int_t ngx_http_filter_finalize_request(ngx_http_request_t *r, 146 ngx_int_t ngx_http_filter_finalize_request(ngx_http_request_t *r,
147 ngx_module_t *m, ngx_int_t error); 147 ngx_module_t *m, ngx_int_t error);
148 void ngx_http_clean_header(ngx_http_request_t *r); 148 void ngx_http_clean_header(ngx_http_request_t *r);
149 149
150 150
151 time_t ngx_http_parse_time(u_char *value, size_t len);
152
153
154 ngx_int_t ngx_http_discard_request_body(ngx_http_request_t *r); 151 ngx_int_t ngx_http_discard_request_body(ngx_http_request_t *r);
155 void ngx_http_discarded_request_body_handler(ngx_http_request_t *r); 152 void ngx_http_discarded_request_body_handler(ngx_http_request_t *r);
156 void ngx_http_block_reading(ngx_http_request_t *r); 153 void ngx_http_block_reading(ngx_http_request_t *r);
157 void ngx_http_test_reading(ngx_http_request_t *r); 154 void ngx_http_test_reading(ngx_http_request_t *r);
158 155