1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-23 16:05:24 +00:00

force reader to be nil

This commit is contained in:
Darien Raymond 2017-11-17 20:58:46 +01:00
parent 5e8cf7bde6
commit a6393449e0
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -168,6 +168,7 @@ func (s *Server) handleConnect(ctx context.Context, request *http.Request, reade
if err := ray.InboundInput().WriteMultiBuffer(buf.NewMultiBufferValue(payload)); err != nil {
return err
}
reader = nil
}
requestDone := signal.ExecuteAsync(func() error {