mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[PR #3745] [MERGED] Code refactoring related to message handling and retry logic. #4825
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#4825
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/3745
Author: @fatedier
Created: 11/3/2023
Status: ✅ Merged
Merged: 11/6/2023
Merged by: @fatedier
Base:
dev← Head:new📝 Commits (1)
d6dba4cCode 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
d6dba4cThis 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.