feat: time to bring back http2.0 support (#10230)

Bonus move our CI/CD to go1.14
This commit is contained in:
Harshavardhana
2020-08-10 09:02:29 -07:00
committed by GitHub
parent a49e3647b6
commit 1e2ebc9945
15 changed files with 347 additions and 280 deletions

View File

@@ -18,6 +18,8 @@ package cmd
import (
"context"
"errors"
"net/http"
"os"
"strings"
@@ -73,7 +75,7 @@ func handleSignals() {
if objAPI := newObjectLayerWithoutSafeModeFn(); objAPI != nil {
objAPI.Shutdown(context.Background())
}
if err != nil {
if err != nil && !errors.Is(err, http.ErrServerClosed) {
logger.Fatal(err, "Unable to start MinIO server")
}
exit(true)