]> git.kaiwu.me - njs.git/commit
Fetch: fix keepalive with disabled TLS verification
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 28 May 2026 05:06:55 +0000 (22:06 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Mon, 1 Jun 2026 15:44:59 +0000 (08:44 -0700)
commitebcc9dee52cc35c2883c52bf5417ea555cb4f492
tree9e11524fe22d3093527067ce08610853e7bdc336
parent32cba98d304707fc9aa41b2de92b8d808fb970c2
Fetch: fix keepalive with disabled TLS verification

HTTPS connections established with certificate verification disabled are
now excluded from the Fetch keepalive cache.  This prevents a later
verified request to the same destination from reusing a TLS connection
that was created with verification disabled.
nginx/ngx_js_fetch.c
nginx/ngx_qjs_fetch.c
nginx/t/js_fetch_https_keepalive.t