Mercurial > hg > nginx
diff src/http/modules/ngx_http_fastcgi_module.c @ 4947:4251e72b8bb4
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.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 06 Dec 2012 23:03:53 +0000 |
parents | 21d1e3bcb356 |
children | fd84344f1df7 10f5831cf56e |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_fastcgi_module.c Thu Dec 06 21:22:58 2012 +0000 +++ b/src/http/modules/ngx_http_fastcgi_module.c Thu Dec 06 23:03:53 2012 +0000 @@ -3014,7 +3014,7 @@ value = cf->args->elts; - if (flcf->cache_key.value.len) { + if (flcf->cache_key.value.data) { return "is duplicate"; }