vmess: update chunk codes

This commit is contained in:
nadoo committed 2018-07-10 00:53:15 +08:00
1 parent b465dc1444
commit fd298207c5
2 files changed
+28 -26

No files matched your search

+1 -1
View File
@@ -85,7 +85,7 @@ func NewClient(uuidStr, security string, alterID int) (*Client, error) {
c.count = len(c.users)
// TODO: config?
c.opt = OptBasicFormat
c.opt = OptChunkStream
security = strings.ToLower(security)
switch security {