mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[PR #5294] [MERGED] protocol: add v2 wire protocol with binary framing and capability negotiation #5230
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#5230
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/5294
Author: @fatedier
Created: 4/26/2026
Status: ✅ Merged
Merged: 4/26/2026
Merged by: @fatedier
Base:
dev← Head:new📝 Commits (1)
549ee9cprotocol: 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.