From 21f4a8e9f44bbc821d0774dea52ac3b1d55ba8c4 Mon Sep 17 00:00:00 2001 From: nkanaev Date: Fri, 10 Jul 2026 15:48:58 +0100 Subject: [PATCH] client: add http/2 --- doc/changelog.md | 1 + src/worker/client.go | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/changelog.md b/doc/changelog.md index 74ed565..6c379f6 100644 --- a/doc/changelog.md +++ b/doc/changelog.md @@ -1,5 +1,6 @@ # upcoming +- (fix) support for HTTP/2 (thanks to @Dean-Corso for the report) - (etc) do not auto-refresh feeds on startup # v2.7 (2026-06-24) diff --git a/src/worker/client.go b/src/worker/client.go index eee2edd..6565afb 100644 --- a/src/worker/client.go +++ b/src/worker/client.go @@ -43,6 +43,7 @@ func init() { Timeout: 10 * time.Second, }).DialContext, DisableKeepAlives: true, + ForceAttemptHTTP2: true, TLSHandshakeTimeout: time.Second * 10, } httpClient := &http.Client{