comparison src/http/ngx_http_upstream.c @ 110:dad2fe8ecf08 NGINX_0_3_2

nginx 0.3.2 *) Feature: the Sun Studio 10 C compiler support. *) Feature: the "proxy_upstream_max_fails", "proxy_upstream_fail_timeout", "fastcgi_upstream_max_fails", and "fastcgi_upstream_fail_timeout" directives.
author Igor Sysoev <http://sysoev.ru>
date Wed, 12 Oct 2005 00:00:00 +0400
parents 146eff53ab60
children 408f195b3482
comparison
equal deleted inserted replaced
109:97da525033a1 110:dad2fe8ecf08
249 249
250 if (r->request_body) { 250 if (r->request_body) {
251 u->request_bufs = r->request_body->bufs; 251 u->request_bufs = r->request_body->bufs;
252 } 252 }
253 253
254 if (u->conf->method == NGX_CONF_UNSET_UINT) {
255 u->method = r->method;
256
257 } else {
258 u->method = u->conf->method;
259 }
260
261 if (u->create_request(r) != NGX_OK) { 254 if (u->create_request(r) != NGX_OK) {
262 ngx_http_finalize_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR); 255 ngx_http_finalize_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR);
263 return; 256 return;
264 } 257 }
265 258