2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-22 02:48:55 +00:00
restic/internal
Michael Eischer b1a8fd1d03 rest: fix and cleanup closing of http response body
If client.Do returns an error, then there's no body that has to be
closed. For requests for which we are not interested in the response
body, immediately drain and close the body to make sure it isn't
forgotten later on.

This change in particular adds the missing `Close()` call for the
`List()` command.
2024-01-19 21:17:17 +01:00
..
archiver archiver: Add filepath to error message if it is not included yet 2024-01-06 19:08:24 +01:00
backend rest: fix and cleanup closing of http response body 2024-01-19 21:17:17 +01:00
bloblru bloblru: Upgrade to hashicorp/golang-lru/v2 2022-11-27 17:18:13 +01:00
cache move Backend interface to backend package 2023-10-25 23:00:18 +02:00
checker Fix typos 2023-12-06 13:11:55 +01:00
crypto Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
debug Rename unused testing parameter to _ 2023-05-18 21:17:53 +02:00
dump dump: Rewrite Linux ACL handling 2023-08-13 13:37:11 +02:00
errors errors: Drop WithMessage 2022-10-14 14:06:47 +02:00
filter remove no longer necessary conditional compiles 2022-11-27 13:18:44 +01:00
fs Fix typos 2023-12-06 13:11:55 +01:00
fuse Merge pull request #4586 from Gelma/typos 2023-12-23 13:21:50 +00:00
hashing Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
index Fix typos 2023-12-06 13:11:55 +01:00
migrations move Backend interface to backend package 2023-10-25 23:00:18 +02:00
options backend, options: Prefer strings.Cut to SplitN 2022-12-02 19:19:14 +01:00
pack Fix typos 2023-12-06 13:11:55 +01:00
repository repository: test that StreamPack only delivers blobs once 2024-01-07 10:54:53 +01:00
restic Merge pull request #4620 from MichaelEischer/improve-irregular-file-handling 2024-01-07 11:12:07 +01:00
restorer restore: separately restore blobs that are frequently referenced 2024-01-08 21:00:13 +01:00
selfupdate Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
test test: use standard logging methods from testing for the test helpers 2023-05-26 19:34:57 +02:00
textfile Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
ui termstatus: update import path of golang.org/x/term 2024-01-06 21:59:26 +01:00
walker Fix typos 2023-12-06 13:11:55 +01:00