fix add_header Last-Modified "", broken in r2589
diff --git a/src/http/modules/ngx_http_headers_filter_module.c b/src/http/modules/ngx_http_headers_filter_module.c index 071ad47..13cef0b 100644 --- a/src/http/modules/ngx_http_headers_filter_module.c +++ b/src/http/modules/ngx_http_headers_filter_module.c
@@ -608,6 +608,11 @@ break; } + if (value[2].len == 0) { + ngx_memzero(&hv->value, sizeof(ngx_http_complex_value_t)); + return NGX_CONF_OK; + } + ngx_memzero(&ccv, sizeof(ngx_http_compile_complex_value_t)); ccv.cf = cf;