mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-06-22 02:39:55 -04:00
close http2 server immediately. fixes #1051
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user