mirror of
https://github.com/kopia/kopia.git
synced 2026-01-27 15:58:03 -05: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.
5.4 KiB
5.4 KiB