mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[PR #505] [CLOSED] frpc 添加--user,--server-dynamic 支持从指定url获取frps服务器 #4206
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#4206
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/505
Author: @chenall
Created: 11/1/2017
Status: ❌ Closed
Base:
dev← Head:dev📝 Commits (1)
9dc574dfrpc: new parameter 'server_dynamic',support --user,--server-dynamic command.📊 Changes
3 files changed (+58 additions, -3 deletions)
View changed files
📝
client/control.go(+44 -0)📝
cmd/frpc/main.go(+10 -1)📝
models/config/client_common.go(+4 -2)📄 Description
主要是为了支持动态IP地址,但是可以实现更多功能。
比如:
--server-dynamic=http://myserver/
启动会从 http://myserver/?user=<user_name> 获取服务器ip地址信息。
在服务端可以跟据不同来源返回不同的IP信息。
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.