1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-26 12:05:35 -05:00

support mtproto conn type 0xee. fixes #1297

This commit is contained in:
Darien Raymond
2018-10-11 11:11:11 +02:00
parent d83959569d
commit 2e94561584
4 changed files with 62 additions and 11 deletions

View File

@@ -32,7 +32,7 @@ func TestInverse(t *testing.T) {
func TestAuthenticationReadWrite(t *testing.T) {
assert := With(t)
a := NewAuthentication()
a := NewAuthentication(DefaultSessionContext())
b := bytes.NewReader(a.Header[:])
a2, err := ReadAuthentication(b)
assert(err, IsNil)