mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-03-06 22:29:55 +00:00
fix: StreamGunWithConn not synchronously close the incoming net.Conn
This commit is contained in:
@@ -56,8 +56,7 @@ func NewServerHandler(options ServerOption) http.Handler {
|
||||
}
|
||||
return request.Body, nAddr, nil
|
||||
},
|
||||
writer: writer,
|
||||
flusher: writer.(http.Flusher),
|
||||
writer: writer,
|
||||
}
|
||||
|
||||
wrapper := &h2ConnWrapper{
|
||||
|
||||
Reference in New Issue
Block a user