]> git.kaiwu.me - njs.git/commit
HTTP: fixed setting of Last-Modified header.
authorDmitry Volyntsev <xeioex@nginx.com>
Wed, 12 Jul 2023 05:50:44 +0000 (22:50 -0700)
committerDmitry Volyntsev <xeioex@nginx.com>
Wed, 12 Jul 2023 05:50:44 +0000 (22:50 -0700)
commitb263f0cb0b6cab1605db3dbf44a10cc42348fc63
treee7c4b088a0dedc0fcdfd684dd852798d44509ebd
parent3bc19249f5f55b0c9780df515074ef1720f2a89d
HTTP: fixed setting of Last-Modified header.

Previously, r.headersOut['Last-Modified'] setter did not update
r->headers_out.last_modified. As a result a client might get two
Last-Modified headers.
nginx/ngx_http_js_module.c
nginx/t/js_headers.t