[PR #3549] [MERGED] fix incorrect use of snappy pool #4779

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

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/3549
Author: @fatedier
Created: 7/25/2023
Status: Merged
Merged: 7/25/2023
Merged by: @fatedier

Base: devHead: new


📝 Commits (1)

  • fcdcc4c fix incorrect use of snappy pool

📊 Changes

11 files changed (+22 additions, -25 deletions)

View changed files

📝 Release.md (+1 -0)
📝 client/proxy/proxy.go (+5 -3)
📝 client/proxy/sudp.go (+1 -3)
📝 client/proxy/udp.go (+1 -3)
📝 client/visitor/stcp.go (+3 -3)
📝 client/visitor/xtcp.go (+3 -3)
📝 go.mod (+1 -1)
📝 go.sum (+2 -2)
📝 pkg/util/version/version.go (+1 -1)
📝 server/proxy/http.go (+1 -3)
📝 server/proxy/proxy.go (+3 -3)

📄 Description

Summary

🤖 Generated by Copilot at c230c42

This pull request fixes a memory leak bug in the client/proxy/proxy.go file and simplifies the compression code in several other files by using the libio.WithCompression function instead of the libio.WithCompressionFromPool function. It also updates the github.com/fatedier/golib dependency and the Release.md file.

WHY

Fix #3541


🔄 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/3549 **Author:** [@fatedier](https://github.com/fatedier) **Created:** 7/25/2023 **Status:** ✅ Merged **Merged:** 7/25/2023 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `new` --- ### 📝 Commits (1) - [`fcdcc4c`](https://github.com/fatedier/frp/commit/fcdcc4c2a5c73a83b0c530470f3457a31ead6a8d) fix incorrect use of snappy pool ### 📊 Changes **11 files changed** (+22 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `Release.md` (+1 -0) 📝 `client/proxy/proxy.go` (+5 -3) 📝 `client/proxy/sudp.go` (+1 -3) 📝 `client/proxy/udp.go` (+1 -3) 📝 `client/visitor/stcp.go` (+3 -3) 📝 `client/visitor/xtcp.go` (+3 -3) 📝 `go.mod` (+1 -1) 📝 `go.sum` (+2 -2) 📝 `pkg/util/version/version.go` (+1 -1) 📝 `server/proxy/http.go` (+1 -3) 📝 `server/proxy/proxy.go` (+3 -3) </details> ### 📄 Description ### Summary <!-- copilot:summary --> ### <samp>🤖 Generated by Copilot at c230c42</samp> This pull request fixes a memory leak bug in the `client/proxy/proxy.go` file and simplifies the compression code in several other files by using the `libio.WithCompression` function instead of the `libio.WithCompressionFromPool` function. It also updates the `github.com/fatedier/golib` dependency and the `Release.md` file. ### WHY Fix #3541 --- <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:48:36 -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#4779
No description provided.