aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_fastcgi_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2011-08-29 12:56:09 +0000
committerIgor Sysoev <igor@sysoev.ru>2011-08-29 12:56:09 +0000
commit8f8839f98db7c44f821e68f28614094e30fb8b22 (patch)
tree0010548b3a9e43a9bfbdcee717660fd5cdfd2679 /src/http/modules/ngx_http_fastcgi_module.c
parent1c95e6c3050bf2114d72029824fdadf001cc300e (diff)
downloadnginx-8f8839f98db7c44f821e68f28614094e30fb8b22.tar.gz
nginx-8f8839f98db7c44f821e68f28614094e30fb8b22.zip
Merge of r3964, r3977, r3978:
Proxy related fixes: *) finalizing with rc == 0 in unbuffered proxy mode caused nginx to wait for another send_timeout before actually closing client's connection if client timed out while still talking to upstream server *) update r3945 with more descriptive error message *) test length of proxy_pass with variables; patch by Lanshun Zhou
Diffstat (limited to 'src/http/modules/ngx_http_fastcgi_module.c')
-rw-r--r--src/http/modules/ngx_http_fastcgi_module.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_fastcgi_module.c b/src/http/modules/ngx_http_fastcgi_module.c
index 12d5b1d8f..71194fd20 100644
--- a/src/http/modules/ngx_http_fastcgi_module.c
+++ b/src/http/modules/ngx_http_fastcgi_module.c
@@ -2003,6 +2003,8 @@ ngx_http_fastcgi_create_loc_conf(ngx_conf_t *cf)
conf->catch_stderr = NGX_CONF_UNSET_PTR;
+ ngx_str_set(&conf->upstream.module, "fastcgi");
+
return conf;
}