comparison src/http/modules/proxy/ngx_http_proxy_handler.c @ 507:cd3117ad9aab release-0.1.28

nginx-0.1.28-RELEASE import *) Bugfix: nginx hogs CPU while proxying the huge files. *) Bugfix: nginx could not be built by gcc 4.0 on Linux.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 08 Apr 2005 15:18:55 +0000
parents ee66921ecd47
children 9b8c906f6e63
comparison
equal deleted inserted replaced
506:005e65646622 507:cd3117ad9aab
1330 1330
1331 if (conf->x_vars == NULL) { 1331 if (conf->x_vars == NULL) {
1332 conf->x_vars = prev->x_vars; 1332 conf->x_vars = prev->x_vars;
1333 } 1333 }
1334 1334
1335 if (conf->peers == NULL) {
1336 conf->peers = prev->peers;
1337 conf->upstream = prev->upstream;
1338 }
1339
1335 return NULL; 1340 return NULL;
1336 } 1341 }
1337 1342
1338 1343
1339 static char *ngx_http_proxy_set_pass(ngx_conf_t *cf, ngx_command_t *cmd, 1344 static char *ngx_http_proxy_set_pass(ngx_conf_t *cf, ngx_command_t *cmd,