comparison src/http/ngx_http_upstream.c @ 434:49a0eb7ce20c NGINX_0_7_29

nginx 0.7.29 *) Bugfix: the "fastcgi_pass" and "proxy_pass" directives did not support variables if unix domain sockets were used. *) Bugfixes in subrequest processing; the bugs had appeared in 0.7.25. *) Bugfix: a "100 Continue" response was issued for HTTP/1.0 requests; Thanks to Maxim Dounin. *) Bugfix: in memory allocation in the ngx_http_gzip_filter_module on Cygwin.
author Igor Sysoev <http://sysoev.ru>
date Wed, 24 Dec 2008 00:00:00 +0300
parents fd759445d8a8
children ce4f9ff90bfa
comparison
equal deleted inserted replaced
433:18f6c20ac73a 434:49a0eb7ce20c
412 412
413 uscf = u->conf->upstream; 413 uscf = u->conf->upstream;
414 414
415 } else { 415 } else {
416 416
417 if (u->resolved->sockaddr) {
418
419 if (ngx_http_upstream_create_round_robin_peer(r, u->resolved)
420 != NGX_OK)
421 {
422 ngx_http_finalize_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR);
423 return;
424 }
425
426 ngx_http_upstream_connect(r, u);
427
428 return;
429 }
430
417 host = &u->resolved->host; 431 host = &u->resolved->host;
418 432
419 umcf = ngx_http_get_module_main_conf(r, ngx_http_upstream_module); 433 umcf = ngx_http_get_module_main_conf(r, ngx_http_upstream_module);
420 434
421 uscfp = umcf->upstreams.elts; 435 uscfp = umcf->upstreams.elts;