mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[PR #5262] [MERGED] client: close TCP connection when fmux session creation fails #5213
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#5213
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?
📋 Pull Request Information
Original PR: https://github.com/fatedier/frp/pull/5262
Author: @cuiweixie
Created: 3/25/2026
Status: ✅ Merged
Merged: 3/29/2026
Merged by: @fatedier
Base:
dev← Head:fix/client-close-conn-on-fmux-error📝 Commits (1)
5791633client: close TCP connection when fmux session creation fails📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
client/connector.go(+1 -0)📄 Description
Summary
fmux.Clientfails afterrealConnect()succeeds, since the connector does not retain the conn and it would otherwise leak.PR targets dev per project contributing guidelines.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.