Skip to content

Commit 89341f0

Browse files
authored
Disable proxying for the TLS precompilation workload (#1309)
Otherwise precompilation can fail when behind a proxy.
1 parent 427b525 commit 89341f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/precompile.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ function _run_precompile_workload_inner!()::Nothing
302302
@assert String(deflate_resp.body) == "deflate:decoded"
303303

304304
_precompile_trace("request tls")
305-
tls_resp = get("https://$(tls_address)/secure"; require_ssl_verification=false, protocol=:h1, request_timeouts...)
305+
tls_resp = get("https://$(tls_address)/secure"; proxy=ProxyConfig(), require_ssl_verification=false, protocol=:h1, request_timeouts...)
306306
@assert tls_resp.status == 200
307307
@assert String(tls_resp.body) == "tls:/secure"
308308

0 commit comments

Comments
 (0)