mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-18 23:00:12 +00:00
send reuse option in header
This commit is contained in:
1 parent
b9c88b673b
commit
72fb5a256c
6 files changed
+94
-14
No files matched your search
@@ -118,7 +118,9 @@ func (this *ClientSession) DecodeResponseHeader(reader io.Reader) (*protocol.Res
|
||||
return nil, transport.ErrorCorruptedPacket
|
||||
}
|
||||
|
||||
header := new(protocol.ResponseHeader)
|
||||
header := &protocol.ResponseHeader{
|
||||
Option: protocol.ResponseOption(buffer.Value[1]),
|
||||
}
|
||||
|
||||
if buffer.Value[2] != 0 {
|
||||
cmdId := buffer.Value[2]
|
||||
|
||||
Reference in new issue
Block a user