client: add http/2

This commit is contained in:
nkanaev
2026-07-10 15:48:58 +01:00
parent b6e7c4bd8c
commit 21f4a8e9f4
2 changed files with 2 additions and 0 deletions

View File

@@ -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)

View File

@@ -43,6 +43,7 @@ func init() {
Timeout: 10 * time.Second,
}).DialContext,
DisableKeepAlives: true,
ForceAttemptHTTP2: true,
TLSHandshakeTimeout: time.Second * 10,
}
httpClient := &http.Client{