[PR #2621] [MERGED] fix: kcp protocol cause delay release resource #4603

Closed
opened 2026-05-05 14:45:12 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/2621
Author: @blizard863
Created: 10/16/2021
Status: Merged
Merged: 10/19/2021
Merged by: @fatedier

Base: devHead: fix-kcp


📝 Commits (1)

  • f205fbc fix: kcp protocol cause delay release resource

📊 Changes

3 files changed (+15 additions, -5 deletions)

View changed files

📝 client/control.go (+8 -1)
📝 client/service.go (+6 -2)
📝 cmd/frpc/sub/root.go (+1 -2)

📄 Description

#2620

复现问题

frpc

[common]
server_addr = 0.0.0.0
server_port = 7000
log_level = debug
protocol = kcp
tls_enable = true

[http_web]
type = tcp
local_ip = 127.0.0.1
local_port = 8890
remote_port = 8891

frps

[common]
bind_addr = 0.0.0.0
bind_port = 7000
kcp_bind_port = 7000
vhost_http_port = 80
vhost_https_port = 443
dashboard_addr = 0.0.0.0
dashboard_port = 7500
log_level = debug

  • 启动 frps,frpc
  • 杀掉 frpc,立刻启动 frpc,出现 conflict,frps 没有释放资源

解决思路

等待一段时间,等 sendch 的释放消息发出去,等待 frps 释放。


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fatedier/frp/pull/2621 **Author:** [@blizard863](https://github.com/blizard863) **Created:** 10/16/2021 **Status:** ✅ Merged **Merged:** 10/19/2021 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `fix-kcp` --- ### 📝 Commits (1) - [`f205fbc`](https://github.com/fatedier/frp/commit/f205fbc43a2ceefbf83e93a00deb60172e367665) fix: kcp protocol cause delay release resource ### 📊 Changes **3 files changed** (+15 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `client/control.go` (+8 -1) 📝 `client/service.go` (+6 -2) 📝 `cmd/frpc/sub/root.go` (+1 -2) </details> ### 📄 Description #2620 ### 复现问题 frpc ``` [common] server_addr = 0.0.0.0 server_port = 7000 log_level = debug protocol = kcp tls_enable = true [http_web] type = tcp local_ip = 127.0.0.1 local_port = 8890 remote_port = 8891 ``` frps ``` [common] bind_addr = 0.0.0.0 bind_port = 7000 kcp_bind_port = 7000 vhost_http_port = 80 vhost_https_port = 443 dashboard_addr = 0.0.0.0 dashboard_port = 7500 log_level = debug ``` --- - [ ] 启动 frps,frpc - [ ] 杀掉 frpc,立刻启动 frpc,出现 conflict,frps 没有释放资源 ### 解决思路 等待一段时间,等 sendch 的释放消息发出去,等待 frps 释放。 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:45:12 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#4603
No description provided.