aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/proxy/ngx_http_proxy_parse.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-11-03 22:20:44 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-11-03 22:20:44 +0000
commitcf80a70e1030f3c12e9b19e34e4f9ee9e2f72629 (patch)
tree0611cee87cc3d27340cff7fc8d324f6f61ad56b7 /src/http/modules/proxy/ngx_http_proxy_parse.c
parenta1512b1904fc7e3a0a5b99e49cff480085518445 (diff)
downloadnginx-cf80a70e1030f3c12e9b19e34e4f9ee9e2f72629.tar.gz
nginx-cf80a70e1030f3c12e9b19e34e4f9ee9e2f72629.zip
nginx-0.0.1-2003-11-04-01:20:44 import
Diffstat (limited to 'src/http/modules/proxy/ngx_http_proxy_parse.c')
-rw-r--r--src/http/modules/proxy/ngx_http_proxy_parse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/http/modules/proxy/ngx_http_proxy_parse.c b/src/http/modules/proxy/ngx_http_proxy_parse.c
index 85c406ea7..1729542d0 100644
--- 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_http_proxy_ctx_t *p)
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_http_proxy_ctx_t *p)
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;
}