mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-16 17:38:45 -05:00
close input stream early
This commit is contained in:
parent
9b72d3cbd7
commit
0f74c618de
@ -303,6 +303,7 @@ func (this *Server) transport(reader io.Reader, writer io.Writer, session *proxy
|
||||
defer v2reader.Release()
|
||||
|
||||
v2io.Pipe(v2reader, input)
|
||||
input.Close()
|
||||
}()
|
||||
|
||||
v2writer := v2io.NewAdaptiveWriter(writer)
|
||||
|
Loading…
Reference in New Issue
Block a user