mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[PR #3271] [MERGED] support bandwidth_limit set by server plugin #4709
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#4709
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/3271
Author: @cbodonnell
Created: 1/26/2023
Status: ✅ Merged
Merged: 2/8/2023
Merged by: @fatedier
Base:
dev← Head:dev📝 Commits (10+)
a4ffda8support bandwidth_limit set by server plugincb2e1cfMerge branch 'dev' of https://github.com/cbodonnell/frp into devde7771dlimiter at proxy level491ee8abandwidth_limit_mode5efa70aupdates tests for bandwidth_limit_mode default7ec3149bandwidth_limit_mode as string99a83f3add checkForSrv for bandwidth_limit_mode2610994Merge branch 'fatedier:dev' into dev013092ebandwidth_limit flags for sub cmds916df56gci write📊 Changes
27 files changed (+284 additions, -41 deletions)
View changed files
📝
README.md(+3 -0)📝
client/proxy/proxy.go(+1 -1)📝
cmd/frpc/sub/http.go(+8 -0)📝
cmd/frpc/sub/https.go(+8 -0)📝
cmd/frpc/sub/root.go(+20 -18)📝
cmd/frpc/sub/stcp.go(+8 -0)📝
cmd/frpc/sub/sudp.go(+8 -0)📝
cmd/frpc/sub/tcp.go(+8 -0)📝
cmd/frpc/sub/tcpmux.go(+8 -0)📝
cmd/frpc/sub/udp.go(+8 -0)📝
cmd/frpc/sub/xtcp.go(+8 -0)📝
conf/frpc_full.ini(+2 -0)📝
doc/server_plugin.md(+2 -0)📝
pkg/config/client_test.go(+28 -7)📝
pkg/config/proxy.go(+48 -0)📝
pkg/config/proxy_test.go(+22 -7)📝
pkg/config/types.go(+3 -0)📝
pkg/msg/msg.go(+12 -8)📝
server/proxy/http.go(+13 -0)📝
server/proxy/https.go(+6 -0)...and 7 more files
📄 Description
Allow setting the proxy
bandwidth_limitfrom a server plugin.Fixes: #3085
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.