diff --git a/cmd/dashboard/main.go b/cmd/dashboard/main.go index 16896f04d6..72b7fcb352 100644 --- a/cmd/dashboard/main.go +++ b/cmd/dashboard/main.go @@ -125,7 +125,7 @@ func main() { mixedHandler := newHTTPandGRPCMux(httpHandler, grpcHandler) http2Server := &http2.Server{} - http1Server := &http.Server{Handler: h2c.NewHandler(mixedHandler, http2Server)} + http1Server := &http.Server{Handler: h2c.NewHandler(mixedHandler, http2Server), ReadHeaderTimeout: time.Second * 5} go dispatchReportInfoTask()