mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-19 23:03:08 +00:00
test case for on demand detour
This commit is contained in:
1 parent
e346f179d2
commit
d8c6102638
9 files changed
+32
-15
No files matched your search
@@ -139,7 +139,7 @@ func (this *VMessInboundHandler) HandleConnection(connection *net.TCPConn) error
|
||||
buffer := alloc.NewLargeBuffer().Clear()
|
||||
defer buffer.Release()
|
||||
buffer.AppendBytes(request.ResponseHeader, byte(0))
|
||||
buffer.AppendBytes(byte(0), byte(0))
|
||||
this.generateCommand(buffer)
|
||||
|
||||
if data, open := <-output; open {
|
||||
buffer.Append(data.Value)
|
||||
|
||||
Reference in new issue
Block a user