[PR #5294] [MERGED] protocol: add v2 wire protocol with binary framing and capability negotiation #5230

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

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/5294
Author: @fatedier
Created: 4/26/2026
Status: Merged
Merged: 4/26/2026
Merged by: @fatedier

Base: devHead: new


📝 Commits (1)

  • 549ee9c protocol: add v2 wire protocol with binary framing and capability negotiation

📊 Changes

40 files changed (+1861 additions, -223 deletions)

View changed files

📝 .github/workflows/golangci-lint.yml (+1 -1)
📝 .golangci.yml (+1 -1)
📝 client/connector.go (+35 -0)
📝 client/control.go (+7 -18)
client/control_session.go (+172 -0)
client/control_session_test.go (+245 -0)
📝 client/service.go (+15 -83)
📝 client/visitor/visitor.go (+4 -4)
📝 client/visitor/visitor_manager.go (+4 -3)
📝 conf/frpc_full_example.toml (+4 -0)
📝 pkg/config/v1/client.go (+4 -0)
📝 pkg/config/v1/client_test.go (+1 -0)
📝 pkg/config/v1/validation/client.go (+3 -0)
📝 pkg/config/v1/validation/validation.go (+4 -0)
pkg/msg/conn_test.go (+56 -0)
📝 pkg/msg/handler.go (+84 -4)
📝 pkg/msg/msg.go (+18 -18)
pkg/msg/msg_test.go (+55 -0)
pkg/msg/wire_v2.go (+192 -0)
pkg/msg/wire_v2_test.go (+121 -0)

...and 20 more files

📄 Description

No description provided


🔄 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/5294 **Author:** [@fatedier](https://github.com/fatedier) **Created:** 4/26/2026 **Status:** ✅ Merged **Merged:** 4/26/2026 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `new` --- ### 📝 Commits (1) - [`549ee9c`](https://github.com/fatedier/frp/commit/549ee9c6ebd46816b5cb0e9045a413229f70e15f) protocol: add v2 wire protocol with binary framing and capability negotiation ### 📊 Changes **40 files changed** (+1861 additions, -223 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/golangci-lint.yml` (+1 -1) 📝 `.golangci.yml` (+1 -1) 📝 `client/connector.go` (+35 -0) 📝 `client/control.go` (+7 -18) ➕ `client/control_session.go` (+172 -0) ➕ `client/control_session_test.go` (+245 -0) 📝 `client/service.go` (+15 -83) 📝 `client/visitor/visitor.go` (+4 -4) 📝 `client/visitor/visitor_manager.go` (+4 -3) 📝 `conf/frpc_full_example.toml` (+4 -0) 📝 `pkg/config/v1/client.go` (+4 -0) 📝 `pkg/config/v1/client_test.go` (+1 -0) 📝 `pkg/config/v1/validation/client.go` (+3 -0) 📝 `pkg/config/v1/validation/validation.go` (+4 -0) ➕ `pkg/msg/conn_test.go` (+56 -0) 📝 `pkg/msg/handler.go` (+84 -4) 📝 `pkg/msg/msg.go` (+18 -18) ➕ `pkg/msg/msg_test.go` (+55 -0) ➕ `pkg/msg/wire_v2.go` (+192 -0) ➕ `pkg/msg/wire_v2_test.go` (+121 -0) _...and 20 more files_ </details> ### 📄 Description _No description provided_ --- <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:57:09 -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#5230
No description provided.