Skip to content

fix: end dropped service observers, lower WARP hop MTU, bump sing-box - #155

Merged
hiddify-com merged 3 commits into
hiddify:mainfrom
veto9292:fix/close-started-service
Oct 21, 2026
Merged

hiddify-com merged 3 commits into
hiddify:mainfrom
veto9292:fix/close-started-service

Conversation

@veto9292

Copy link
Copy Markdown
Collaborator
  • fix: end the observer goroutines of every service the core drops
  • fix(chain): lower the WARP hop MTU to 1000
  • chore(deps): bump hiddify-sing-box

🤖 Generated with Claude Code

veto9292 and others added 2 commits October 17, 2026 17:56
daemon.StartedService starts five observer goroutines that only Close ends.
The core called CloseService alone, which stops the box but leaves them
running, so every start leaked five goroutines: on stop, on a start that
failed or was cancelled, and in the CLI instance and the tunnel service.

closeService now does both, and every place that drops a service uses it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The extra-security WARP hop sends its packets inside the main proxy, which adds its
own header. With MTU 1280, behind a shadowsocks server every packet above about
1200 bytes was lost: the tunnel connected and small requests worked, but Chrome's
large TLS ClientHello never got through, so no site loaded. 1000 passed every size
up to 4 KB on the same path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@veto9292
veto9292 force-pushed the fix/close-started-service branch from 0c1fd64 to 1f38ad7 Compare October 21, 2026 14:35
@hiddify-com

Copy link
Copy Markdown
Contributor

minimum mtu for
IPv6 =1280
quic=1228/1248(ipv6)

this way is not a good way

@hiddify-com hiddify-com reopened this Oct 21, 2026
@hiddify-com
hiddify-com merged commit af3cadf into hiddify:main Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants