mirror of
https://github.com/nkanaev/yarr.git
synced 2026-07-15 11:06:31 +00:00
client: add http/2
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
# upcoming
|
# upcoming
|
||||||
|
|
||||||
|
- (fix) support for HTTP/2 (thanks to @Dean-Corso for the report)
|
||||||
- (etc) do not auto-refresh feeds on startup
|
- (etc) do not auto-refresh feeds on startup
|
||||||
|
|
||||||
# v2.7 (2026-06-24)
|
# v2.7 (2026-06-24)
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ func init() {
|
|||||||
Timeout: 10 * time.Second,
|
Timeout: 10 * time.Second,
|
||||||
}).DialContext,
|
}).DialContext,
|
||||||
DisableKeepAlives: true,
|
DisableKeepAlives: true,
|
||||||
|
ForceAttemptHTTP2: true,
|
||||||
TLSHandshakeTimeout: time.Second * 10,
|
TLSHandshakeTimeout: time.Second * 10,
|
||||||
}
|
}
|
||||||
httpClient := &http.Client{
|
httpClient := &http.Client{
|
||||||
|
|||||||
Reference in New Issue
Block a user