[PR #4838] [CLOSED] Allow headers to be deleted #5054

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

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/4838
Author: @jackpordi
Created: 6/16/2025
Status: Closed

Base: devHead: jackpordi/allow-deleting-headers-frpc


📝 Commits (10+)

📊 Changes

62 files changed (+1015 additions, -524 deletions)

View changed files

📝 .github/workflows/golangci-lint.yml (+2 -8)
📝 .github/workflows/stale.yml (+1 -1)
📝 .golangci.yml (+92 -120)
📝 Makefile.cross-compiles (+1 -1)
📝 README.md (+2 -4)
📝 Release.md (+3 -7)
📝 client/admin_api.go (+6 -6)
📝 client/control.go (+1 -1)
📝 client/proxy/proxy.go (+4 -20)
📝 client/proxy/sudp.go (+1 -1)
📝 client/proxy/udp.go (+3 -1)
📝 client/service.go (+4 -5)
📝 conf/frpc_full_example.toml (+2 -0)
📝 doc/server_plugin.md (+1 -1)
📝 doc/virtual_net.md (+1 -3)
📝 go.mod (+8 -8)
📝 go.sum (+18 -14)
📝 hack/run-e2e.sh (+3 -3)
📝 package.sh (+1 -1)
📝 pkg/config/legacy/client.go (+2 -5)

...and 42 more files

📄 Description

WHY

Allows both request and response headers to be deleted. Note:

  • Moved HeaderOperations to msg package, because this is now sent between FRPC to FRPS.
  • Refactored the data structure being sent from FRPC to FRPS to support header controls with the same API all through out. This is a backwards incompatible change due to the way FRPC sends info back to FRPS.

🔄 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/4838 **Author:** [@jackpordi](https://github.com/jackpordi) **Created:** 6/16/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `jackpordi/allow-deleting-headers-frpc` --- ### 📝 Commits (10+) - [`a23455a`](https://github.com/fatedier/frp/commit/a23455a73799670d31f7bfaeebf12ccd793a1391) update feature gates doc (#4755) - [`e687aef`](https://github.com/fatedier/frp/commit/e687aef37e18eb5e2d5012982d216990752d3f66) vnet: fix issues (#4771) - [`75edea3`](https://github.com/fatedier/frp/commit/75edea33707f1c3be91b4593e3cc55ab878d58d8) update release notes (#4772) - [`6cbb262`](https://github.com/fatedier/frp/commit/6cbb26283c3931766216968975c06e03a58a0941) build: add x64 openbsd (#4780) - [`3be6efd`](https://github.com/fatedier/frp/commit/3be6efdd285da5569a100fa1362725b1a01cd545) fix: type error in server_plugin doc (#4799) - [`3128350`](https://github.com/fatedier/frp/commit/3128350dd6f52761f635311b9aa4ce6f84f04659) feat: support YAML merge in strict configuration mode (#4809) - [`ce366ee`](https://github.com/fatedier/frp/commit/ce366ee17f3a92f6015d57083f053256dd9501a5) add proxy protocol support for UDP proxies (#4810) - [`1ced733`](https://github.com/fatedier/frp/commit/1ced733340ae5c448e29bbe5a112247641e6621a) update test package (#4814) - [`de690a5`](https://github.com/fatedier/frp/commit/de690a55c81a222003564a569e6e2d943c859445) update golangci-lint version (#4817) - [`3920a78`](https://github.com/fatedier/frp/commit/3920a788b44f11c6b0bb7afa80f3232784fa0dcc) wip ### 📊 Changes **62 files changed** (+1015 additions, -524 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/golangci-lint.yml` (+2 -8) 📝 `.github/workflows/stale.yml` (+1 -1) 📝 `.golangci.yml` (+92 -120) 📝 `Makefile.cross-compiles` (+1 -1) 📝 `README.md` (+2 -4) 📝 `Release.md` (+3 -7) 📝 `client/admin_api.go` (+6 -6) 📝 `client/control.go` (+1 -1) 📝 `client/proxy/proxy.go` (+4 -20) 📝 `client/proxy/sudp.go` (+1 -1) 📝 `client/proxy/udp.go` (+3 -1) 📝 `client/service.go` (+4 -5) 📝 `conf/frpc_full_example.toml` (+2 -0) 📝 `doc/server_plugin.md` (+1 -1) 📝 `doc/virtual_net.md` (+1 -3) 📝 `go.mod` (+8 -8) 📝 `go.sum` (+18 -14) 📝 `hack/run-e2e.sh` (+3 -3) 📝 `package.sh` (+1 -1) 📝 `pkg/config/legacy/client.go` (+2 -5) _...and 42 more files_ </details> ### 📄 Description ### WHY Allows both request and response headers to be deleted. Note: - Moved HeaderOperations to `msg` package, because this is now sent between FRPC to FRPS. - Refactored the data structure being sent from FRPC to FRPS to support header controls with the same API all through out. This is a backwards incompatible change due to the way FRPC sends info back to FRPS. <!-- author to complete --> --- <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:53:51 -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#5054
No description provided.