mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-09-11 18:54:32 +00:00
feat: transport & obfs refactoring
This commit is contained in:
@@ -85,7 +85,7 @@ func client(config *clientConfig) {
|
||||
auth = []byte(config.AuthString)
|
||||
}
|
||||
// Obfuscator
|
||||
var obfuscator core.Obfuscator
|
||||
var obfuscator obfs.Obfuscator
|
||||
if len(config.Obfs) > 0 {
|
||||
obfuscator = obfs.NewXPlusObfuscator([]byte(config.Obfs))
|
||||
}
|
||||
|
Reference in New Issue
Block a user