mirror of
https://github.com/MatsuriDayo/NekoBoxForAndroid.git
synced 2025-12-19 06:30:05 +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) {
|
if (bean.enableECH) {
|
||||||
ech.enabled = true
|
ech = OutboundECHOptions().apply {
|
||||||
ech.pq_signature_schemes_enabled = bean.enablePqSignature
|
enabled = true
|
||||||
ech.dynamic_record_sizing_disabled = bean.disabledDRS
|
pq_signature_schemes_enabled = bean.enablePqSignature
|
||||||
ech.config = bean.echConfig.lines()
|
dynamic_record_sizing_disabled = bean.disabledDRS
|
||||||
|
if (bean.echConfig.isNotBlank()) {
|
||||||
|
config = bean.echConfig.lines()
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user