[PR #4804] [CLOSED] Added the function of custom prefix path for ws and wss protocols #5047

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

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/4804
Author: @fsyxhua
Created: 5/21/2025
Status: Closed

Base: devHead: dev_ll


📝 Commits (1)

  • fb5a93b Added the function of custom prefix path for ws and wss protocols

📊 Changes

4 files changed (+50 additions, -5 deletions)

View changed files

📝 cmd/frpc/sub/root.go (+13 -0)
📝 cmd/frps/root.go (+8 -0)
📝 pkg/config/v1/client.go (+4 -2)
📝 pkg/util/net/websocket.go (+25 -3)

📄 Description

WHY

Add the function of custom prefix path for ws and wss protocols, which is convenient for modifying the prefix path according to different needs when there is a reverse 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/4804 **Author:** [@fsyxhua](https://github.com/fsyxhua) **Created:** 5/21/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `dev_ll` --- ### 📝 Commits (1) - [`fb5a93b`](https://github.com/fatedier/frp/commit/fb5a93b442f28f304a0dd6ed8507ef695e0937d7) Added the function of custom prefix path for ws and wss protocols ### 📊 Changes **4 files changed** (+50 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `cmd/frpc/sub/root.go` (+13 -0) 📝 `cmd/frps/root.go` (+8 -0) 📝 `pkg/config/v1/client.go` (+4 -2) 📝 `pkg/util/net/websocket.go` (+25 -3) </details> ### 📄 Description ### WHY Add the function of custom prefix path for ws and wss protocols, which is convenient for modifying the prefix path according to different needs when there is a reverse proxy. <!-- 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:41 -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#5047
No description provided.