mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[PR #4431] [CLOSED] fix: memory leak #4980
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#4980
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/4431
Author: @ivanszl
Created: 9/12/2024
Status: ❌ Closed
Base:
dev← Head:leak-memory📝 Commits (2)
57eba76fix: memory leak5e08b2eremove unnecessary code📊 Changes
4 files changed (+7 additions, -6 deletions)
View changed files
📝
client/control.go(+1 -1)📝
pkg/msg/handler.go(+1 -0)📝
pkg/transport/message.go(+4 -4)📝
server/control.go(+1 -1)📄 Description
WHY
在某些特殊情况下,会导致内存泄露
在发送比接收慢的情况下,容易出现sendCh满,会导致后续所有的 goroutine 泄露了
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.