From: Dmitry Volyntsev Date: Thu, 19 Nov 2026 01:26:29 +0000 (-0800) Subject: Tests: remove ssl_preread from stream HTTPS fetch tests X-Git-Url: https://git.kaiwu.me/web/%22data:,/doc/static/ngx_http_flv_module.html?a=commitdiff_plain;p=njs.git Tests: remove ssl_preread from stream HTTPS fetch tests 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. --- diff --git a/nginx/t/stream_js_fetch_https.t b/nginx/t/stream_js_fetch_https.t index f397ea70..2ac83c3e 100644 --- a/nginx/t/stream_js_fetch_https.t +++ b/nginx/t/stream_js_fetch_https.t @@ -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;