close http2 server immediately. fixes #1051

pull/1059/head v3.18.1
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
1 changed files with 1 additions and 1 deletions

View File

@ -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 {