]> git.kaiwu.me - njs.git/commit
Fetch: fixed Headers() constructor.
authorDmitry Volyntsev <xeioex@nginx.com>
Fri, 10 Mar 2023 22:15:29 +0000 (14:15 -0800)
committerDmitry Volyntsev <xeioex@nginx.com>
Fri, 10 Mar 2023 22:15:29 +0000 (14:15 -0800)
commit07bea6882969dd75f23c78016bd4b0a0076c146d
tree83efef27a173e608f2a34fd0298c43201b875905
parent4d5de00bbcff5da1944942b96c072bb033b74bfe
Fetch: fixed Headers() constructor.

Previously, the 'guard' field of ngx_js_headers_t structure was uninitialized,
that caused spurious exception "Error: cannot append to immutable object".

This issue was introduced on 0.7.10.
nginx/ngx_js_fetch.c