1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-28 23:06:14 -04:00

close input stream early

This commit is contained in:
Darien Raymond 2016-08-28 12:01:37 +02:00
parent 9b72d3cbd7
commit 0f74c618de
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

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