Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_uwsgi_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 | adcd60233817 |
children | fd84344f1df7 |
comparison
equal
deleted
inserted
replaced
4946:2570296374b4 | 4947:4251e72b8bb4 |
---|---|
1805 ngx_str_t *value; | 1805 ngx_str_t *value; |
1806 ngx_http_compile_complex_value_t ccv; | 1806 ngx_http_compile_complex_value_t ccv; |
1807 | 1807 |
1808 value = cf->args->elts; | 1808 value = cf->args->elts; |
1809 | 1809 |
1810 if (uwcf->cache_key.value.len) { | 1810 if (uwcf->cache_key.value.data) { |
1811 return "is duplicate"; | 1811 return "is duplicate"; |
1812 } | 1812 } |
1813 | 1813 |
1814 ngx_memzero(&ccv, sizeof(ngx_http_compile_complex_value_t)); | 1814 ngx_memzero(&ccv, sizeof(ngx_http_compile_complex_value_t)); |
1815 | 1815 |