mirror of
https://github.com/restic/rest-server.git
synced 2026-10-15 15:10:07 -07:00
properly close file in error handling of saveConfig and saveBlob (#385)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
Bugfix: Clean up uploads that exceed the repository size limit
|
||||
|
||||
An upload that would exceed the repository size limit set with `--max-size`
|
||||
leaked a file descriptor and left a temporary file behind. Rest-server now
|
||||
closes that file and removes the temporary file.
|
||||
|
||||
https://github.com/restic/rest-server/pull/385
|
||||
Reference in New Issue
Block a user