]> git.kaiwu.me - njs.git/commitdiff
Tests: remove ssl_preread from stream HTTPS fetch tests master
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 19 Nov 2026 01:26:29 +0000 (17:26 -0800)
committerDmitry Volyntsev <xeioexception@gmail.com>
Thu, 19 Nov 2026 06:44:10 +0000 (22:44 -0800)
The stream access checks proxy TLS to the HTTP backend without
using any ssl_preread variables. On builds without the preread
module, its directive prevents nginx from starting and the whole
test reports a misleading "no njs.fetch" skip.

Remove the unused directives so these checks do not depend on the
preread module.

nginx/t/stream_js_fetch_https.t

index f397ea70cde5d1dbc74273bc23b541ad78628add..2ac83c3e604e8cc433e1ca64c098ca6d427a4509 100644 (file)
@@ -124,7 +124,6 @@ stream {
         listen  127.0.0.1:8085;
 
         js_access test.access_ok;
-        ssl_preread on;
 
         js_fetch_ciphers HIGH:!aNull:!MD5;
         js_fetch_protocols TLSv1.1 TLSv1.2;
@@ -137,7 +136,6 @@ stream {
         listen  127.0.0.1:8086;
 
         js_access test.access_nok;
-        ssl_preread on;
 
         js_fetch_ciphers HIGH:!aNull:!MD5;
         js_fetch_protocols TLSv1.1 TLSv1.2;