Skip to content

[Feature Request] Improve XTCP tunnel resilience when frpc–frps connection is unstable #5087

@dqgyfl

Description

@dqgyfl

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

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions