rclone/lib
Nick Craig-Wood 638058ef91 lib/http: shutdown all servers on exit to remove unix socket
Before this change only serve http was Shutting down its server which
was causing other servers such as serve restic to leave behind their
unix sockets.

This change moves the finalisation to lib/http so all servers have it
and removes it from serve http.

Fixes #6648
2022-12-23 12:28:07 +00:00
..
atexit build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
bucket build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
buildinfo build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
cache lib/cache: fix alias backend shutting down too soon 2022-11-09 16:29:23 +00:00
daemonize build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
debug rc: Add commands to set GC Percent & Memory Limit (1.19+) 2022-11-10 12:07:18 +00:00
dircache all: fix spelling across the project 2022-08-30 11:16:26 +02:00
encoder Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
env docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
errors build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
exitcode cmd: Move exit status codes to separate package 2021-07-07 17:59:26 +01:00
file Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
http lib/http: shutdown all servers on exit to remove unix socket 2022-12-23 12:28:07 +00:00
israce build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
jwtutil Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
kv build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
mmap build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
oauthutil lib/oauthutil: Improved usability of config flows needing web browser 2022-12-09 14:41:05 +00:00
pacer build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
plugin Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
pool test: Don't run unreliable tests on CI #4171 2020-06-15 21:34:37 +01:00
random Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
ranges Spelling fixes 2020-10-14 15:21:31 +01:00
readers Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
rest backend/http: support content-range response header 2022-11-08 13:04:17 +00:00
structs staticcheck: ignore deprecations that are not relevant 2022-07-04 11:24:59 +02:00
terminal fs: Add global flag '--color' to control terminal colors 2022-12-06 12:07:06 +00:00
version Fix lint issues reported by staticcheck 2022-06-13 21:13:50 +02:00