diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-08-16 13:09:33 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-08-16 13:09:33 +0000 |
commit | ef316430492ce988b71f2d2839c12e3d3922a66b (patch) | |
tree | 214292c0f152fd374940002499011024280097a8 /src/http/ngx_http.h | |
parent | 2fb72a2205fd4a2bf450487032df43e5e1d9b14f (diff) | |
download | nginx-release-0.3.59.tar.gz nginx-release-0.3.59.zip |
nginx-0.3.59-RELEASE importrelease-0.3.59
*) 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.
Diffstat (limited to 'src/http/ngx_http.h')
-rw-r--r-- | src/http/ngx_http.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/http/ngx_http.h b/src/http/ngx_http.h index 41720f24a..74ebfc7d1 100644 --- a/src/http/ngx_http.h +++ b/src/http/ngx_http.h @@ -53,12 +53,8 @@ struct ngx_http_log_ctx_s { }; -#define ngx_http_get_module_ctx(r, module) (r)->ctx[module.ctx_index] -#define ngx_http_get_module_err_ctx(r, module) \ - ((r)->err_ctx ? (r)->err_ctx[module.ctx_index] : (r)->ctx[module.ctx_index]) - -#define ngx_http_set_ctx(r, c, module) r->ctx[module.ctx_index] = c; -#define ngx_http_delete_ctx(r, module) r->ctx[module.ctx_index] = NULL; +#define ngx_http_get_module_ctx(r, module) (r)->ctx[module.ctx_index] +#define ngx_http_set_ctx(r, c, module) r->ctx[module.ctx_index] = c; void ngx_http_init_connection(ngx_connection_t *c); |