fix(hysteria): standard geco share links and persistent uTLS None (#6325)

- Export standard gecko obfs query params in hysteria2 share links
- Enforce packet size bounds across Go and TypeScript link handlers
- Persist uTLS None explicitly and initialize new TLS inbounds to chrome
- Tear down stackTun safely without closeMu deadlock against WriteNotify

Co-authored-by: rqzbeh <rqzbeh@users.noreply.github.com>
This commit is contained in:
Rouzbeh†
2026-09-03 18:05:07 +03:30
committed by GitHub
parent f9898e0b24
commit 540caa4e93
14 changed files with 514 additions and 111 deletions
+6 -2
View File
@@ -130,8 +130,12 @@ export default function HostFormModal({
[],
);
const fpOptions = useMemo(
() => Object.values(UTLS_FINGERPRINT).map((v) => ({ value: v, label: v })),
[],
// '' = None first: Hysteria (and any no-uTLS host) must be selectable.
() => [
{ value: '', label: t('none') },
...Object.values(UTLS_FINGERPRINT).map((v) => ({ value: v, label: v })),
],
[t],
);
const hostOptions = useMemo(() => {