mirror of
https://github.com/MatsuriDayo/NekoBoxForAndroid.git
synced 2025-12-18 22:20:06 +08:00
fix: ech
This commit is contained in:
parent
15055d9cb9
commit
08505a7722
@ -620,10 +620,14 @@ fun buildSingBoxOutboundTLS(bean: StandardV2RayBean): OutboundTLSOptions? {
|
||||
}
|
||||
}
|
||||
if (bean.enableECH) {
|
||||
ech.enabled = true
|
||||
ech.pq_signature_schemes_enabled = bean.enablePqSignature
|
||||
ech.dynamic_record_sizing_disabled = bean.disabledDRS
|
||||
ech.config = bean.echConfig.lines()
|
||||
ech = OutboundECHOptions().apply {
|
||||
enabled = true
|
||||
pq_signature_schemes_enabled = bean.enablePqSignature
|
||||
dynamic_record_sizing_disabled = bean.disabledDRS
|
||||
if (bean.echConfig.isNotBlank()) {
|
||||
config = bean.echConfig.lines()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user