mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-12-29 05:25:21 -05:00
fix domain length issue for all proxies
This commit is contained in:
@@ -97,3 +97,7 @@ func (sc *SecurityConfig) AsSecurity() Security {
|
||||
}
|
||||
return NormSecurity(Security(sc.Type))
|
||||
}
|
||||
|
||||
func IsDomainTooLong(domain string) bool {
|
||||
return len(domain) > 256
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user