[PR #4111] [MERGED] fix x-forwarded-for header #4922

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

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/4111
Author: @fatedier
Created: 3/28/2024
Status: Merged
Merged: 3/28/2024
Merged by: @fatedier

Base: devHead: new


📝 Commits (1)

  • 6b35282 fix x-forwarded-for header

📊 Changes

10 files changed (+204 additions, -51 deletions)

View changed files

📝 Release.md (+6 -0)
📝 client/proxy/proxy.go (+28 -26)
📝 pkg/plugin/client/http2https.go (+3 -0)
📝 pkg/plugin/client/https2http.go (+6 -1)
📝 pkg/plugin/client/https2https.go (+6 -1)
📝 pkg/plugin/client/plugin.go (+2 -0)
📝 pkg/util/net/conn.go (+10 -1)
📝 pkg/util/vhost/http.go (+1 -0)
📝 test/e2e/framework/request.go (+1 -1)
📝 test/e2e/v1/features/real_ip.go (+141 -21)

📄 Description

Fix #4109
Fix #3533


🔄 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/4111 **Author:** [@fatedier](https://github.com/fatedier) **Created:** 3/28/2024 **Status:** ✅ Merged **Merged:** 3/28/2024 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `new` --- ### 📝 Commits (1) - [`6b35282`](https://github.com/fatedier/frp/commit/6b35282a0a5720de9fa8666cb1d6d7dc58e8bbbf) fix x-forwarded-for header ### 📊 Changes **10 files changed** (+204 additions, -51 deletions) <details> <summary>View changed files</summary> 📝 `Release.md` (+6 -0) 📝 `client/proxy/proxy.go` (+28 -26) 📝 `pkg/plugin/client/http2https.go` (+3 -0) 📝 `pkg/plugin/client/https2http.go` (+6 -1) 📝 `pkg/plugin/client/https2https.go` (+6 -1) 📝 `pkg/plugin/client/plugin.go` (+2 -0) 📝 `pkg/util/net/conn.go` (+10 -1) 📝 `pkg/util/vhost/http.go` (+1 -0) 📝 `test/e2e/framework/request.go` (+1 -1) 📝 `test/e2e/v1/features/real_ip.go` (+141 -21) </details> ### 📄 Description Fix #4109 Fix #3533 --- <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:51:18 -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#4922
No description provided.