comparison src/http/ngx_http_upstream.c @ 561:e48ebafc6939 release-0.3.2

nginx-0.3.2-RELEASE import *) 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 <igor@sysoev.ru>
date Wed, 12 Oct 2005 13:50:36 +0000
parents 7bd37aef1e7e
children 9c2f3ed7a247
comparison
equal deleted inserted replaced
560:8886091eddd2 561:e48ebafc6939
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