mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #5087] [Feature Request] Improve XTCP tunnel resilience when frpc–frps connection is unstable #3996
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3996
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dqgyfl on GitHub (Dec 5, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/5087
Describe the feature request
Summary
Currently, active XTCP P2P sessions are torn down whenever the frpc–frps control connection becomes temporarily unavailable. This causes unnecessary interruption to ongoing traffic, even though the P2P data channel itself remains healthy.
Problem
In environments with unstable networks, short disruptions in the frpc–frps connection can occur frequently. When this happens:
The control channel disconnect triggers the teardown of the associated XTCP tunnel.
The client and visitor must re-establish the P2P session even though their data path was still functional.
This leads to degraded user experience and additional overhead for reconnecting.
Describe alternatives you've considered
No response
Affected area