2
2
mirror of https://github.com/octoleo/restic.git synced 2025-01-22 22:58:26 +00:00
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-07-17 13:40:15 +02:00
2022-07-17 13:40:06 +02:00
2022-10-14 14:33:49 +02:00
2022-10-14 14:33:49 +02:00
2022-08-19 19:12:26 +02:00
2017-07-23 14:19:13 +02:00
2018-03-03 15:49:44 +01:00
2017-07-23 14:19:13 +02:00
2018-04-01 10:16:31 +02:00
2018-04-01 10:16:31 +02:00
2022-09-25 11:35:35 +02:00