1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-18 07:17:32 -05:00

close http2 server immediately. fixes #1051

This commit is contained in:
Darien Raymond 2018-04-14 23:07:47 +02:00
parent e5122a4c2d
commit 9d8922f523
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -26,7 +26,7 @@ func (l *Listener) Addr() net.Addr {
} }
func (l *Listener) Close() error { func (l *Listener) Close() error {
return l.server.Shutdown(context.Background()) return l.server.Close()
} }
type flushWriter struct { type flushWriter struct {