mirror of
https://github.com/rclone/rclone.git
synced 2026-11-07 02:02:53 -05:00
golang.org/x/net v0.60.0 deprecates its HTTP/2 server and transport in
favour of net/http.
Make the h2c test use http.Transport with unencrypted HTTP/2. serve
restic --stdio still needs http2.Server to serve HTTP/2 on a single
connection as http.Server has no way of doing that.
(cherry picked from commit d3db33c6b7)