2
2
mirror of https://github.com/octoleo/restic.git synced 2025-02-04 12:58:27 +00:00
restic/internal
greatroar d4aadfa389 all: Drop ctxhttp
This package is no longer needed, since we can use the stdlib's
http.NewRequestWithContext.

backend/rclone already did, but it needed a different error check due to
a difference between net/http and ctxhttp.

Also, store the http.Client by value in the REST backend (changed to a
pointer when ctxhttp was introduced) and use errors.WithStack instead
of errors.Wrap where the message was no longer accurate. Errors from
http.NewRequestWithContext will start with "net/http" or "net/url", so
they're easy to identify.
2022-10-14 14:33:49 +02:00
..
2022-10-14 14:33:49 +02:00
2022-07-17 13:42:23 +02:00
2022-05-11 21:36:10 +02:00
2022-10-14 14:33:49 +02:00
2021-01-30 20:19:47 +01:00