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:
Ruslan Ermilov 2012-03-21 07:35:43 +00:00
parent 89467caf43
commit d4b1e5f58b

View File

@ -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;