aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_scgi_module.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2012-12-06 23:03:53 +0000
committerRuslan Ermilov <ru@nginx.com>2012-12-06 23:03:53 +0000
commit73fb7e878fac4ba302479e57554f2f688e306361 (patch)
tree63e8399b962d4d4aec21bab29fbc5b6c8d4b30c2 /src/http/modules/ngx_http_scgi_module.c
parent8e8201486cb52e929feb16446406253dfbe33e99 (diff)
downloadnginx-73fb7e878fac4ba302479e57554f2f688e306361.tar.gz
nginx-73fb7e878fac4ba302479e57554f2f688e306361.zip
Allow the complex value to be defined as an empty string.
This makes conversion from strings to complex values possible without the loss of functionality.
Diffstat (limited to 'src/http/modules/ngx_http_scgi_module.c')
-rw-r--r--src/http/modules/ngx_http_scgi_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_scgi_module.c b/src/http/modules/ngx_http_scgi_module.c
index 2c825fa3a..5a3af92f9 100644
--- a/src/http/modules/ngx_http_scgi_module.c
+++ b/src/http/modules/ngx_http_scgi_module.c
@@ -1771,7 +1771,7 @@ ngx_http_scgi_cache_key(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
value = cf->args->elts;
- if (scf->cache_key.value.len) {
+ if (scf->cache_key.value.data) {
return "is duplicate";
}