comparison src/http/modules/proxy/ngx_http_proxy_upstream.c @ 190:02a715e85df1

nginx-0.0.1-2003-11-19-00:34:08 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 18 Nov 2003 21:34:08 +0000
parents c966c09be66b
children 71ce40b3c37b
comparison
equal deleted inserted replaced
189:c966c09be66b 190:02a715e85df1
1180 if (p->upstream->peer.connection) { 1180 if (p->upstream->peer.connection) {
1181 ngx_http_proxy_close_connection(p); 1181 ngx_http_proxy_close_connection(p);
1182 } 1182 }
1183 1183
1184 if (p->request->connection->write->eof) { 1184 if (p->request->connection->write->eof) {
1185 ngx_http_proxy_finalize_request(p, status ? status: 1185 ngx_http_proxy_finalize_request(p, NGX_HTTP_CLIENT_CLOSED_REQUEST);
1186 NGX_HTTP_CLIENT_CLOSED_REQUEST); 1186 return;
1187 } 1187 }
1188 1188
1189 if (status) { 1189 if (status) {
1190 p->state->status = status; 1190 p->state->status = status;
1191 1191