mirror of
https://github.com/nginx/nginx.git
synced 2025-01-08 07:03:01 -06:00
If we inserted "Last-Modified" in r->headers_out.headers, don't
forget to set the r->headers_out.last_modified pointer to it.
This commit is contained in:
parent
89467caf43
commit
d4b1e5f58b
@ -385,6 +385,8 @@ ngx_http_set_last_modified(ngx_http_request_t *r, ngx_http_header_val_t *hv,
|
||||
return NGX_ERROR;
|
||||
}
|
||||
|
||||
*old = h;
|
||||
|
||||
} else {
|
||||
h = *old;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user