mirror of
https://github.com/caddyserver/caddy.git
synced 2025-05-21 17:10:01 +08:00
chore: Build with Go 1.20, keep minimum at 1.18 for now (#5353)
This commit is contained in:
@ -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),
|
||||
|
Reference in New Issue
Block a user