aboutsummaryrefslogtreecommitdiff
path: root/nginx/ngx_http_js_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'nginx/ngx_http_js_module.c')
-rw-r--r--nginx/ngx_http_js_module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nginx/ngx_http_js_module.c b/nginx/ngx_http_js_module.c
index b9980f96..208417c7 100644
--- a/nginx/ngx_http_js_module.c
+++ b/nginx/ngx_http_js_module.c
@@ -2091,6 +2091,7 @@ ngx_http_js_ext_status(njs_vm_t *vm, njs_object_prop_t *prop,
}
r->headers_out.status = n;
+ r->headers_out.status_line.len = 0;
njs_value_undefined_set(retval);