update to singbox1.8.4, fix vless http crash

This commit is contained in:
Hiddify
2024-01-26 14:49:22 +01:00
parent d53e472c1e
commit ed3e801839
5 changed files with 24 additions and 19 deletions

View File

@@ -86,8 +86,11 @@ func isOutboundReality(base option.Outbound) bool {
isReality := false
switch base.Type {
case C.TypeVLESS:
if base.VLESSOptions.TLS.Reality != nil {
isReality = base.VLESSOptions.TLS.Reality.Enabled
if base.VLESSOptions.OutboundTLSOptionsContainer.TLS == nil {
return false
}
if base.VLESSOptions.OutboundTLSOptionsContainer.TLS.Reality != nil {
isReality = base.VLESSOptions.OutboundTLSOptionsContainer.TLS.Reality.Enabled
}
}
return isReality