Add required things for middlehandshake

This commit is contained in:
9seconds
2019-09-10 13:54:14 +03:00
parent 691954bd16
commit 1617866c24
6 changed files with 121 additions and 22 deletions
+2 -3
View File
@@ -76,10 +76,9 @@ func Proxy() error {
}()
app := &proxy.Proxy{
Logger: zap.S().Named("proxy"),
Context: ctx,
Logger: zap.S().Named("proxy"),
Context: ctx,
ClientProtocolMaker: obfuscated2.MakeClientProtocol,
TelegramProtocolMaker: obfuscated2.MakeTelegramProtocol,
}
// if len(config.C.AdTag) == 0 {
// app.TelegramProtocolMaker = obfuscated2.MakeTelegramProtocol