[PR #52] [MERGED] Maodanp/http hostname #4123

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

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/52
Author: @maodanp
Created: 7/25/2016
Status: Merged
Merged: 7/25/2016
Merged by: @fatedier

Base: devHead: maodanp/http_hostname


📝 Commits (2)

  • e0f2993 change the Host value in http request header
  • 6dd51e0 remove the extra filed

📊 Changes

7 files changed (+161 additions, -9 deletions)

View changed files

📝 src/frp/cmd/frpc/control.go (+2 -0)
📝 src/frp/cmd/frps/control.go (+2 -0)
📝 src/frp/models/config/config.go (+3 -0)
📝 src/frp/models/msg/msg.go (+2 -0)
📝 src/frp/models/server/server.go (+3 -2)
📝 src/frp/utils/vhost/http.go (+114 -0)
📝 src/frp/utils/vhost/vhost.go (+35 -7)

📄 Description

  • LGTM
  • add local_ip, local_port when frpc register
  • modify Host in http header when it is needed

🔄 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/52 **Author:** [@maodanp](https://github.com/maodanp) **Created:** 7/25/2016 **Status:** ✅ Merged **Merged:** 7/25/2016 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `maodanp/http_hostname` --- ### 📝 Commits (2) - [`e0f2993`](https://github.com/fatedier/frp/commit/e0f2993b707966be84b4972c6ee4e80477860dbc) change the Host value in http request header - [`6dd51e0`](https://github.com/fatedier/frp/commit/6dd51e095137aff36ba66dc0417402fa68bbf823) remove the extra filed ### 📊 Changes **7 files changed** (+161 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `src/frp/cmd/frpc/control.go` (+2 -0) 📝 `src/frp/cmd/frps/control.go` (+2 -0) 📝 `src/frp/models/config/config.go` (+3 -0) 📝 `src/frp/models/msg/msg.go` (+2 -0) 📝 `src/frp/models/server/server.go` (+3 -2) 📝 `src/frp/utils/vhost/http.go` (+114 -0) 📝 `src/frp/utils/vhost/vhost.go` (+35 -7) </details> ### 📄 Description - [x] LGTM - add `local_ip`, `local_port` when `frpc` register - modify `Host` in `http` header when it is needed --- <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:36:04 -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#4123
No description provided.