mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[PR #3536] [MERGED] fix a race condition issue #4773
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#4773
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/3536
Author: @fatedier
Created: 7/20/2023
Status: ✅ Merged
Merged: 7/20/2023
Merged by: @fatedier
Base:
dev← Head:fix-race📝 Commits (1)
dbc5ee9fix a race condition issue📊 Changes
12 files changed (+34 additions, -14 deletions)
View changed files
📝
Release.md(+4 -1)📝
client/proxy/proxy.go(+3 -1)📝
client/proxy/sudp.go(+3 -1)📝
client/proxy/udp.go(+3 -1)📝
client/visitor/stcp.go(+3 -1)📝
client/visitor/xtcp.go(+3 -1)📝
go.mod(+2 -2)📝
go.sum(+4 -3)📝
pkg/util/version/version.go(+1 -1)📝
server/proxy/http.go(+3 -1)📝
server/proxy/proxy.go(+3 -1)📝
test/e2e/basic/basic.go(+2 -0)📄 Description
Summary
🤖 Generated by Copilot at 4aaacfe
This pull request optimizes the compression and decompression of data for various proxy and visitor types by using a sync.Pool to reuse buffers instead of allocating new ones. The changes affect the
go.modfile and several files in theclient/proxyandserver/proxypackages.WHY
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.