]> git.kaiwu.me - njs.git/commit
Stream: fixed variable value state on allocation failure
authorDmitry Volyntsev <xeioex@nginx.com>
Wed, 3 Jun 2026 02:06:39 +0000 (19:06 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Wed, 3 Jun 2026 21:34:17 +0000 (14:34 -0700)
commit78d4ea53331273e2729576afaf067544dcc67b49
treed603e13838a0c8e7068d8653518d98988545629c
parent0b512efd4d59250d72180eed7baacb3f29229123
Stream: fixed variable value state on allocation failure

Reset the variable value validity flag when allocating storage for a stream
variable fails.  This matches the HTTP variable path and prevents a failed
assignment from leaving a half-initialized value marked as valid.
nginx/ngx_stream_js_module.c