Mercurial > hg > nginx
diff src/http/modules/proxy/ngx_http_proxy_parse.c @ 172:caa57ddf6d77
nginx-0.0.1-2003-11-04-01:20:44 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 03 Nov 2003 22:20:44 +0000 |
parents | c42be4185301 |
children | 2357fa41738a |
line wrap: on
line diff
--- a/src/http/modules/proxy/ngx_http_proxy_parse.c +++ b/src/http/modules/proxy/ngx_http_proxy_parse.c @@ -26,7 +26,7 @@ int ngx_http_proxy_parse_status_line(ngx sw_done } state; - state = p->state; + state = p->parse_state; pos = p->header_in->pos; while (pos < p->header_in->last && state < sw_done) { @@ -195,10 +195,10 @@ int ngx_http_proxy_parse_status_line(ngx p->status_end = pos - 1; } - p->state = sw_start; + p->parse_state = sw_start; return NGX_OK; } - p->state = state; + p->parse_state = state; return NGX_AGAIN; }