1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-25 17:27:25 +00:00
restic/internal/backend
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
..
azure azure: Strip ? prefix from sas token 2022-07-16 23:55:18 +02:00
b2 errors: Drop Cause in favor of Go 1.13 error handling 2022-10-08 13:08:08 +02:00
dryrun upgrade_repo_v2: Use atomic replace for supported backends 2022-05-09 22:31:30 +02:00
gs errors: Drop Cause in favor of Go 1.13 error handling 2022-10-08 13:08:08 +02:00
limiter limiter: move to internal/backend 2022-07-17 13:40:15 +02:00
local backend: Move semaphores to a dedicated package 2022-06-18 10:01:58 +02:00
location Wording: change repo to repository 2022-07-08 20:05:35 +02:00
mem Merge pull request #3795 from greatroar/sema 2022-06-18 17:12:01 +02:00
mock mock: move to internal/backend 2022-07-17 13:40:06 +02:00
rclone all: Drop ctxhttp 2022-10-14 14:33:49 +02:00
rest all: Drop ctxhttp 2022-10-14 14:33:49 +02:00
s3 s3: Disable multipart uploads below 200MB 2022-08-05 23:48:36 +02:00
sema backend: Move semaphores to a dedicated package 2022-06-18 10:01:58 +02:00
sftp rclone/sftp: Improve handling of ErrDot errors 2022-09-25 16:19:03 +02:00
swift Merge pull request #3470 from MichaelEischer/sanitize-debug-log 2022-07-02 19:00:54 +02:00
test gofmt all files 2022-08-19 19:12:26 +02:00
testdata
backend_error.go
backend_retry.go Add success callback to the backend 2022-08-27 22:27:15 +02:00
backend_retry_test.go Add success callback to the backend 2022-08-27 22:27:15 +02:00
doc.go
errdot_119.go rclone/sftp: Improve handling of ErrDot errors 2022-09-25 16:19:03 +02:00
errdot_old.go rclone/sftp: Improve handling of ErrDot errors 2022-09-25 16:19:03 +02:00
foreground.go
foreground_sysv.go
foreground_test.go
foreground_unix.go
foreground_windows.go
http_transport.go
layout.go errors: Drop Cause in favor of Go 1.13 error handling 2022-10-08 13:08:08 +02:00
layout_default.go
layout_rest.go
layout_s3legacy.go
layout_test.go
paths.go
readerat.go backend: extract readerat from restic package 2022-07-17 15:29:09 +02:00
shell_split.go
shell_split_test.go
utils.go retry key loading on hash mismatch 2022-09-25 11:35:35 +02:00
utils_test.go retry key loading on hash mismatch 2022-09-25 11:35:35 +02:00