[PR #5098] [CLOSED] Add a plugin ops CloseUserConn for traffic metrics #5123

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

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/5098
Author: @gregoiregentil
Created: 12/17/2025
Status: Closed

Base: devHead: dev


📝 Commits (1)

  • 0defeaa Add a plugin ops CloseUserConn including same info as NewUserConn plus the bytes in and out totals of the connection

📊 Changes

7 files changed (+180 additions, -19 deletions)

View changed files

📝 pkg/config/v1/validation/validation.go (+1 -0)
📝 pkg/plugin/server/manager.go (+51 -12)
📝 pkg/plugin/server/plugin.go (+7 -6)
📝 pkg/plugin/server/types.go (+9 -0)
📝 server/proxy/proxy.go (+20 -1)
📝 test/e2e/legacy/plugin/server.go (+45 -0)
📝 test/e2e/v1/plugin/server.go (+47 -0)

📄 Description

See issue #5089


🔄 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/5098 **Author:** [@gregoiregentil](https://github.com/gregoiregentil) **Created:** 12/17/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (1) - [`0defeaa`](https://github.com/fatedier/frp/commit/0defeaa567d10e141484acf2af86acb11461457e) Add a plugin ops CloseUserConn including same info as NewUserConn plus the bytes in and out totals of the connection ### 📊 Changes **7 files changed** (+180 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `pkg/config/v1/validation/validation.go` (+1 -0) 📝 `pkg/plugin/server/manager.go` (+51 -12) 📝 `pkg/plugin/server/plugin.go` (+7 -6) 📝 `pkg/plugin/server/types.go` (+9 -0) 📝 `server/proxy/proxy.go` (+20 -1) 📝 `test/e2e/legacy/plugin/server.go` (+45 -0) 📝 `test/e2e/v1/plugin/server.go` (+47 -0) </details> ### 📄 Description See issue #5089 --- <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:55:07 -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#5123
No description provided.