1
mirror of https://github.com/rclone/rclone synced 2024-11-23 00:06:55 +01:00
rclone/lib/http
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
..
serve lib/http: Simplify server.go to export an http server rather than an interface 2022-12-15 12:38:09 +00:00
templates serve http: support unix sockets and multiple listners 2022-12-15 12:38:09 +00:00
testdata serve http: support unix sockets and multiple listners 2022-12-15 12:38:09 +00:00
auth.go lib/http: rationalise names in test servers to be more consistent 2022-12-15 12:38:09 +00:00
context.go lib/http: fix race condition 2022-12-15 12:38:09 +00:00
middleware_test.go lib/http: rationalise names in test servers to be more consistent 2022-12-15 12:38:09 +00:00
middleware.go lib/http: rationalise names in test servers to be more consistent 2022-12-15 12:38:09 +00:00
server_test.go lib/http: Simplify server.go to export an http server rather than an interface 2022-12-15 12:38:09 +00:00
server.go lib/http: shutdown all servers on exit to remove unix socket 2022-12-23 12:28:07 +00:00
template.go serve http: support unix sockets and multiple listners 2022-12-15 12:38:09 +00:00