diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-10-10 15:10:50 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-10-10 15:10:50 +0000 |
commit | b3e73d869ecef9248468e0ccc2d7d0abdbee495c (patch) | |
tree | 78f032c1884aca4879ef86ce15f10f923111f66e /src/http/modules/proxy/ngx_http_proxy_handler.c | |
parent | 1342d9cc29de7b6509a44a49cd66d1038d1e6d26 (diff) | |
download | nginx-b3e73d869ecef9248468e0ccc2d7d0abdbee495c.tar.gz nginx-b3e73d869ecef9248468e0ccc2d7d0abdbee495c.zip |
nginx-0.0.1-2003-10-10-19:10:50 import
Diffstat (limited to 'src/http/modules/proxy/ngx_http_proxy_handler.c')
-rw-r--r-- | src/http/modules/proxy/ngx_http_proxy_handler.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/http/modules/proxy/ngx_http_proxy_handler.c b/src/http/modules/proxy/ngx_http_proxy_handler.c index 8be3aa341..adb9be5c4 100644 --- a/src/http/modules/proxy/ngx_http_proxy_handler.c +++ b/src/http/modules/proxy/ngx_http_proxy_handler.c @@ -1108,7 +1108,9 @@ static int ngx_http_proxy_init(ngx_cycle_t *cycle) ctx = (ngx_http_conf_ctx_t *) cycle->conf_ctx[ngx_http_module.index]; cmcf = ctx->main_conf[ngx_http_core_module.ctx_index]; - ngx_test_null(h, ngx_push_array(&cmcf->translate_handlers), NGX_ERROR); + ngx_test_null(h, ngx_push_array( + &cmcf->phases[NGX_HTTP_TRANSLATE_PHASE].handlers), + NGX_ERROR); *h = ngx_http_proxy_translate_handler; |