mirror of
https://github.com/kopia/kopia.git
synced 2026-03-26 10:01:32 -04:00
Checks whether any of the `httpServer.Serve*()` calls returns `ErrServerClosed`. Handles `ErrServerClosed` inside the `startServerWithOptionalTLS` function instead of propagating it up. This means that `startServerWithOptionalTLS` returns a nil error when the HTTP server is closed, so the caller does not need to check for `ErrServerClosed` No functional changes otherwise.
13 KiB
13 KiB