[PR #5095] [CLOSED] 修改frps和frpc的默认配置文件格式,添加主机名字段到登录消息中 #5122

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

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/5095
Author: @xuntee
Created: 12/13/2025
Status: Closed

Base: devHead: dev


📝 Commits (2)

  • ebc5bed refactor: 将默认配置文件格式从ini改为toml
  • 333dd7d feat(client): 在登录消息中添加主机名信息

📊 Changes

3 files changed (+4 additions, -2 deletions)

View changed files

📝 client/service.go (+2 -0)
📝 cmd/frpc/sub/root.go (+1 -1)
📝 cmd/frps/root.go (+1 -1)

📄 Description

WHY

修改frps和frpc的默认配置文件格式,从ini变更为toml以提升配置的可读性和维护性

添加主机名字段到登录消息中,以便服务端可以识别客户端的来源主机


🔄 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/5095 **Author:** [@xuntee](https://github.com/xuntee) **Created:** 12/13/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (2) - [`ebc5bed`](https://github.com/fatedier/frp/commit/ebc5bed21a9348386293b4032ff02361df289bc3) refactor: 将默认配置文件格式从ini改为toml - [`333dd7d`](https://github.com/fatedier/frp/commit/333dd7da7f17427ab10d7110076c3dca03bdc7ed) feat(client): 在登录消息中添加主机名信息 ### 📊 Changes **3 files changed** (+4 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `client/service.go` (+2 -0) 📝 `cmd/frpc/sub/root.go` (+1 -1) 📝 `cmd/frps/root.go` (+1 -1) </details> ### 📄 Description ### WHY 修改frps和frpc的默认配置文件格式,从ini变更为toml以提升配置的可读性和维护性 添加主机名字段到登录消息中,以便服务端可以识别客户端的来源主机 --- <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:55:06 -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#5122
No description provided.