mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[PR #1757] [CLOSED] [Feature] Load Balance TcpMux FRP Client Connections #4447
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#4447
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/1757
Author: @GuyLewin
Created: 4/15/2020
Status: ❌ Closed
Base:
dev← Head:feature/load-balance-tcpmux📝 Commits (1)
5c8b4e3feat: allow multiple duplicate proxies registered with tcpmux for load balancing📊 Changes
6 files changed (+76 additions, -25 deletions)
View changed files
📝
server/service.go(+1 -1)📝
utils/tcpmux/httpconnect.go(+1 -1)📝
utils/vhost/http.go(+6 -5)📝
utils/vhost/https.go(+1 -1)📝
utils/vhost/router.go(+62 -12)📝
utils/vhost/vhost.go(+5 -5)📄 Description
Implement a simple load balancing strategy (random) to be able to hold multiple FRP client connections with the TcpMux plugin for the same domain and host.
It's only for TcpMux now becauase Http and Https are tightly coupled with the fact that there's only 1 connection per domain + location. We should break this coupling in the future.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.