chore: Build with Go 1.20, keep minimum at 1.18 for now (#5353)

This commit is contained in:
Francis Lavoie
2023-02-06 11:29:20 -05:00
committed by GitHub
parent 94b8d56096
commit e62b5fb586
9 changed files with 45 additions and 40 deletions

View File

@ -574,7 +574,7 @@ func (app *App) Stop() error {
// TODO: we have to manually close our listeners because quic-go won't
// close listeners it didn't create along with the server itself...
// see https://github.com/lucas-clemente/quic-go/issues/3560
// see https://github.com/quic-go/quic-go/issues/3560
for _, el := range server.h3listeners {
if err := el.Close(); err != nil {
app.logger.Error("HTTP/3 listener close",
@ -583,7 +583,7 @@ func (app *App) Stop() error {
}
}
// TODO: CloseGracefully, once implemented upstream (see https://github.com/lucas-clemente/quic-go/issues/2103)
// TODO: CloseGracefully, once implemented upstream (see https://github.com/quic-go/quic-go/issues/2103)
if err := server.h3server.Close(); err != nil {
app.logger.Error("HTTP/3 server shutdown",
zap.Error(err),