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

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