From d296ae618353fdf19109a46229e569c85b206455 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Thu, 28 Aug 2025 10:05:38 +1000 Subject: [PATCH] Fix DOWNLOADER_DISABLE_HTTP2 not working --- erigon-db/downloader/downloader.go | 1 + 1 file changed, 1 insertion(+) diff --git a/erigon-db/downloader/downloader.go b/erigon-db/downloader/downloader.go index 0ea58103b30..dcd7fc37922 100644 --- a/erigon-db/downloader/downloader.go +++ b/erigon-db/downloader/downloader.go @@ -303,6 +303,7 @@ func configureHttp2(t *http.Transport) { if os.Getenv("DOWNLOADER_DISABLE_HTTP2") != "" { // Disable h2 being added automatically. g.MakeMap(&t.TLSNextProto) + return } // Don't set the http2.Transport as the RoundTripper. It's hooked into the http.Transport by // this call. Need to use external http2 library to get access to some config fields that