mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
vmess: add docs for vmess
This commit is contained in:
1 parent
c8ca1f0b25
commit
922462ffe8
4 files changed
+24
-8
No files matched your search
@@ -188,11 +188,11 @@ func (c *Conn) DecodeRespHeader() error {
|
||||
return errors.New("unexpected response header")
|
||||
}
|
||||
|
||||
// TODO: Dynamic port supported
|
||||
// if buf[2] != 0 {
|
||||
// cmd := buf[2]
|
||||
// dataLen := int32(buf[3])
|
||||
// }
|
||||
// TODO: Dynamic port support
|
||||
if buf[2] != 0 {
|
||||
// dataLen := int32(buf[3])
|
||||
return errors.New("dynamic port is not supported now")
|
||||
}
|
||||
|
||||
c.connected = true
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user