Mercurial > hg > nginx
diff src/http/modules/proxy/ngx_http_proxy_handler.c @ 178:a8ff48d26cca
nginx-0.0.1-2003-11-11-00:09:22 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 10 Nov 2003 21:09:22 +0000 |
parents | 4db54fdbcbe7 |
children | c966c09be66b |
line wrap: on
line diff
--- a/src/http/modules/proxy/ngx_http_proxy_handler.c Mon Nov 10 17:17:31 2003 +0000 +++ b/src/http/modules/proxy/ngx_http_proxy_handler.c Mon Nov 10 21:09:22 2003 +0000 @@ -503,7 +503,7 @@ { ngx_http_proxy_ctx_t *p; - p = ngx_http_get_module_ctx(r, ngx_http_proxy_module); + p = ngx_http_get_module_err_ctx(r, ngx_http_proxy_module); if (p == NULL) { *buf = '-'; @@ -520,11 +520,15 @@ *buf++ = '/'; - *buf++ = 'X'; + *buf++ = '_'; *buf++ = '/'; - *buf++ = 'X'; + *buf++ = '_'; + + *buf++ = '/'; + + *buf++ = '_'; *buf++ = ' '; @@ -554,6 +558,9 @@ buf += ngx_snprintf(buf, NGX_TIME_LEN, TIME_FMT, p->state->expires); } + *buf++ = ' '; + *buf++ = '_'; + return buf; } @@ -563,7 +570,7 @@ { ngx_http_proxy_ctx_t *p; - p = ngx_http_get_module_ctx(r, ngx_http_proxy_module); + p = ngx_http_get_module_err_ctx(r, ngx_http_proxy_module); if (p == NULL || p->state->cache_state == 0) { *buf = '-'; @@ -580,7 +587,7 @@ { ngx_http_proxy_ctx_t *p; - p = ngx_http_get_module_ctx(r, ngx_http_proxy_module); + p = ngx_http_get_module_err_ctx(r, ngx_http_proxy_module); if (p == NULL || p->state->reason == 0) { *buf = '-';