[PR #3745] [MERGED] Code refactoring related to message handling and retry logic. #4825

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

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/3745
Author: @fatedier
Created: 11/3/2023
Status: Merged
Merged: 11/6/2023
Merged by: @fatedier

Base: devHead: new


📝 Commits (1)

  • d6dba4c Code refactoring related to message handling and retry logic.

📊 Changes

11 files changed (+690 additions, -529 deletions)

View changed files

📝 Release.md (+1 -0)
📝 client/admin_api.go (+8 -1)
📝 client/control.go (+103 -172)
📝 client/service.go (+93 -106)
📝 pkg/metrics/metrics.go (+14 -0)
pkg/msg/handler.go (+103 -0)
📝 pkg/transport/message.go (+2 -0)
📝 pkg/util/net/conn.go (+16 -0)
pkg/util/wait/backoff.go (+197 -0)
📝 server/control.go (+141 -244)
📝 server/service.go (+12 -6)

📄 Description

Summary

🤖 Generated by Copilot at d6dba4c

This pull request refactors the control connection logic and message handling for both the client and the server, adds encryption support for network connections, adds some metrics and utilities for the project, and fixes a bug in the oidc authentication method. It also improves the code quality, readability, and error handling in several files.

WHY


🔄 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/3745 **Author:** [@fatedier](https://github.com/fatedier) **Created:** 11/3/2023 **Status:** ✅ Merged **Merged:** 11/6/2023 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `new` --- ### 📝 Commits (1) - [`d6dba4c`](https://github.com/fatedier/frp/commit/d6dba4cbe62c493db6d61535598356f8b542c9da) Code refactoring related to message handling and retry logic. ### 📊 Changes **11 files changed** (+690 additions, -529 deletions) <details> <summary>View changed files</summary> 📝 `Release.md` (+1 -0) 📝 `client/admin_api.go` (+8 -1) 📝 `client/control.go` (+103 -172) 📝 `client/service.go` (+93 -106) 📝 `pkg/metrics/metrics.go` (+14 -0) ➕ `pkg/msg/handler.go` (+103 -0) 📝 `pkg/transport/message.go` (+2 -0) 📝 `pkg/util/net/conn.go` (+16 -0) ➕ `pkg/util/wait/backoff.go` (+197 -0) 📝 `server/control.go` (+141 -244) 📝 `server/service.go` (+12 -6) </details> ### 📄 Description ### Summary <!-- copilot:summary --> ### <samp>🤖 Generated by Copilot at d6dba4c</samp> This pull request refactors the control connection logic and message handling for both the client and the server, adds encryption support for network connections, adds some metrics and utilities for the project, and fixes a bug in the oidc authentication method. It also improves the code quality, readability, and error handling in several files. ### WHY --- <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:49:28 -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#4825
No description provided.