File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1531,7 +1531,7 @@ ngx_http_cache_purge_send_response(ngx_http_request_t *r) {
1531
1531
r -> headers_out .content_type .len = resp_ct_size - 1 ;
1532
1532
r -> headers_out .content_type .data = (u_char * ) resp_ct ;
1533
1533
1534
- resp_tmpl_len = body_len + key [0 ].len + r -> cache -> file . name . len ;
1534
+ resp_tmpl_len = body_len + key [0 ].len ;
1535
1535
1536
1536
buf = ngx_pcalloc (r -> pool , resp_tmpl_len );
1537
1537
if (buf == NULL ) {
@@ -1543,7 +1543,7 @@ ngx_http_cache_purge_send_response(ngx_http_request_t *r) {
1543
1543
return NGX_HTTP_INTERNAL_SERVER_ERROR ;
1544
1544
}
1545
1545
1546
- len = body_len + key [0 ].len + r -> cache -> file . name . len ;
1546
+ len = body_len + key [0 ].len ;
1547
1547
1548
1548
r -> headers_out .status = NGX_HTTP_OK ;
1549
1549
r -> headers_out .content_length_n = len ;
You can’t perform that action at this time.
0 commit comments