Mercurial > hg > nginx-quic
comparison src/http/ngx_http.h @ 675:e924670896ab release-0.3.59
nginx-0.3.59-RELEASE import
*) Feature: now is possible to do several redirection using the
"error_page" directive.
*) Bugfix: the "dav_access" directive did not support three parameters.
*) Bugfix: the "error_page" directive did not changes the
"Content-Type" header line after the "X-Accel-Redirect" was used;
the bug had appeared in 0.3.58.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 16 Aug 2006 13:09:33 +0000 |
parents | 63a820b0bc6c |
children | 3b763d36e055 |
comparison
equal
deleted
inserted
replaced
674:c4b2ba082d99 | 675:e924670896ab |
---|---|
51 ngx_http_request_t *request; | 51 ngx_http_request_t *request; |
52 ngx_http_request_t *current_request; | 52 ngx_http_request_t *current_request; |
53 }; | 53 }; |
54 | 54 |
55 | 55 |
56 #define ngx_http_get_module_ctx(r, module) (r)->ctx[module.ctx_index] | 56 #define ngx_http_get_module_ctx(r, module) (r)->ctx[module.ctx_index] |
57 #define ngx_http_get_module_err_ctx(r, module) \ | 57 #define ngx_http_set_ctx(r, c, module) r->ctx[module.ctx_index] = c; |
58 ((r)->err_ctx ? (r)->err_ctx[module.ctx_index] : (r)->ctx[module.ctx_index]) | |
59 | |
60 #define ngx_http_set_ctx(r, c, module) r->ctx[module.ctx_index] = c; | |
61 #define ngx_http_delete_ctx(r, module) r->ctx[module.ctx_index] = NULL; | |
62 | 58 |
63 | 59 |
64 void ngx_http_init_connection(ngx_connection_t *c); | 60 void ngx_http_init_connection(ngx_connection_t *c); |
65 | 61 |
66 ngx_int_t ngx_http_parse_request_line(ngx_http_request_t *r, ngx_buf_t *b); | 62 ngx_int_t ngx_http_parse_request_line(ngx_http_request_t *r, ngx_buf_t *b); |