1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-28 21:15:46 -05:00

chunk stream in vmess

This commit is contained in:
v2ray
2016-02-01 12:22:29 +01:00
parent 6c7a9586d0
commit d3ff2b3698
21 changed files with 225 additions and 139 deletions

View File

@@ -147,6 +147,6 @@ func dumpInput(reader io.Reader, input chan<- *alloc.Buffer, finish *sync.Mutex)
}
func dumpOutput(writer io.Writer, output <-chan *alloc.Buffer, finish *sync.Mutex) {
v2io.ChanToWriter(writer, output)
v2io.ChanToRawWriter(writer, output)
finish.Unlock()
}