mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 03:18:59 +00:00
abd89f15f7
By creating the http.Transport and tls.Configuration ourselves we override some default behavior and end up with a client that speaks only HTTP/1.1. This adds a call to http.ConfigureTransport to do the relevant magic to enable HTTP/2. Also tweaks the keepalive settings to be a little kinder to the server(s). |
||
---|---|---|
.. | ||
mocks | ||
cache_test.go | ||
cache.go | ||
debug.go | ||
discover.go | ||
doc.go | ||
global_test.go | ||
global.go | ||
local_test.go | ||
local.go | ||
local.pb.go | ||
manager.go |