1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-27 04:25:44 -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

@@ -36,7 +36,8 @@ func (c *Client) Process(ctx context.Context, link *core.Link, dialer proxy.Dial
}
defer conn.Close() // nolint: errcheck
auth := NewAuthentication()
sc := SessionContextFromContext(ctx)
auth := NewAuthentication(sc)
defer putAuthenticationObject(auth)
request := func() error {