[PR #1661] [MERGED] [Feature] TCP HTTP Tunnel #4426

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

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/1661
Author: @GuyLewin
Created: 2/17/2020
Status: Merged
Merged: 3/5/2020
Merged by: @fatedier

Base: devHead: feature/tcp-multiplexing


📝 Commits (10+)

  • 504f565 tcp multiplexing over http connect tunnel
  • 3e6f825 Update readme to talk about tcp multiplexing
  • b7020e3 Multiplex TCP only if custom domain or subdomain is configured
  • 5f79740 add test for tcp multiplexing
  • 8e3b6fc Export tcp multiplexing into new proxy type
  • 1062cca Include proxy file
  • 5c3b438 Update readme to match code changes
  • a36bad8 Update tests to support rewrite
  • db06ae7 Update documentation
  • d0c499e Update date on documentation

📊 Changes

22 files changed (+565 additions, -26 deletions)

View changed files

📝 README.md (+46 -3)
📝 client/proxy/proxy.go (+34 -0)
📝 cmd/frpc/sub/root.go (+1 -0)
cmd/frpc/sub/tcpmux.go (+91 -0)
📝 models/config/proxy.go (+79 -0)
📝 models/config/server_common.go (+18 -0)
📝 models/consts/consts.go (+10 -6)
📝 models/msg/msg.go (+3 -0)
📝 server/controller/resource.go (+4 -0)
📝 server/dashboard_api.go (+8 -0)
📝 server/proxy/proxy.go (+5 -0)
server/proxy/tcpmux.go (+95 -0)
📝 server/service.go (+21 -2)
📝 tests/ci/auto_test_frpc.ini (+7 -0)
📝 tests/ci/auto_test_frps.ini (+1 -0)
📝 tests/ci/normal_test.go (+11 -0)
📝 tests/consts/consts.go (+2 -0)
utils/tcpmux/httpconnect.go (+68 -0)
utils/util/http.go (+44 -0)
📝 utils/vhost/http.go (+4 -13)

...and 2 more files

📄 Description

Use HTTP CONNECT headers on a single port to receive connections to any proxy


🔄 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/1661 **Author:** [@GuyLewin](https://github.com/GuyLewin) **Created:** 2/17/2020 **Status:** ✅ Merged **Merged:** 3/5/2020 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `feature/tcp-multiplexing` --- ### 📝 Commits (10+) - [`504f565`](https://github.com/fatedier/frp/commit/504f565d3f6382c5d86189ac0d6ebbd24c2516c7) tcp multiplexing over http connect tunnel - [`3e6f825`](https://github.com/fatedier/frp/commit/3e6f825a9df29cbfd479753ef364ff7d73f3051a) Update readme to talk about tcp multiplexing - [`b7020e3`](https://github.com/fatedier/frp/commit/b7020e3f3c3b196b0db77c83032bbfb417c51edc) Multiplex TCP only if custom domain or subdomain is configured - [`5f79740`](https://github.com/fatedier/frp/commit/5f7974035454e5c0f309fa34f78ad08d8ed687bd) add test for tcp multiplexing - [`8e3b6fc`](https://github.com/fatedier/frp/commit/8e3b6fcc532f33a2339db92350c654fd0f974ba5) Export tcp multiplexing into new proxy type - [`1062cca`](https://github.com/fatedier/frp/commit/1062ccaaee7fcbea7275cfe351a260d849798b2e) Include proxy file - [`5c3b438`](https://github.com/fatedier/frp/commit/5c3b438863e5e7d422d4009a22739e5033b52441) Update readme to match code changes - [`a36bad8`](https://github.com/fatedier/frp/commit/a36bad8bcfb19723b2a1363062d7b86248588b3d) Update tests to support rewrite - [`db06ae7`](https://github.com/fatedier/frp/commit/db06ae77dcc03dc3c1d95a7961327a32cc543a79) Update documentation - [`d0c499e`](https://github.com/fatedier/frp/commit/d0c499ee61125abbc6173b6e82a8d0b99b8d60ae) Update date on documentation ### 📊 Changes **22 files changed** (+565 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+46 -3) 📝 `client/proxy/proxy.go` (+34 -0) 📝 `cmd/frpc/sub/root.go` (+1 -0) ➕ `cmd/frpc/sub/tcpmux.go` (+91 -0) 📝 `models/config/proxy.go` (+79 -0) 📝 `models/config/server_common.go` (+18 -0) 📝 `models/consts/consts.go` (+10 -6) 📝 `models/msg/msg.go` (+3 -0) 📝 `server/controller/resource.go` (+4 -0) 📝 `server/dashboard_api.go` (+8 -0) 📝 `server/proxy/proxy.go` (+5 -0) ➕ `server/proxy/tcpmux.go` (+95 -0) 📝 `server/service.go` (+21 -2) 📝 `tests/ci/auto_test_frpc.ini` (+7 -0) 📝 `tests/ci/auto_test_frps.ini` (+1 -0) 📝 `tests/ci/normal_test.go` (+11 -0) 📝 `tests/consts/consts.go` (+2 -0) ➕ `utils/tcpmux/httpconnect.go` (+68 -0) ➕ `utils/util/http.go` (+44 -0) 📝 `utils/vhost/http.go` (+4 -13) _...and 2 more files_ </details> ### 📄 Description Use HTTP CONNECT headers on a single port to receive connections to any proxy --- <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:41:53 -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#4426
No description provided.