diff --git a/transport/internet/http/hub.go b/transport/internet/http/hub.go index 0ad91f1bc..b15f54049 100644 --- a/transport/internet/http/hub.go +++ b/transport/internet/http/hub.go @@ -26,7 +26,7 @@ func (l *Listener) Addr() net.Addr { } func (l *Listener) Close() error { - return l.server.Shutdown(context.Background()) + return l.server.Close() } type flushWriter struct {