[GH-ISSUE #4996] [Feature Request] 能否支持FrpWebsocketPath 在配置文件中配置,目前固定为/~!frp #3938

Closed
opened 2026-05-05 14:30:35 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @litrycn on GitHub (Sep 25, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4996

Describe the feature request

如题,能否支持FrpWebsocketPath 在配置文件中配置,目前固定为/~!frp

pkg/util/net/websocket.go

package net

import (
	"errors"
	"net"
	"net/http"
	"time"

	"golang.org/x/net/websocket"
)

var ErrWebsocketListenerClosed = errors.New("websocket listener closed")

const (
	FrpWebsocketPath = "/~!frp"
)

....

Describe alternatives you've considered

能否支持FrpWebsocketPath 在配置文件中配置,目前固定为/~!frp

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @litrycn on GitHub (Sep 25, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/4996 ### Describe the feature request 如题,能否支持FrpWebsocketPath 在配置文件中配置,目前固定为/~!frp pkg/util/net/websocket.go ``` package net import ( "errors" "net" "net/http" "time" "golang.org/x/net/websocket" ) var ErrWebsocketListenerClosed = errors.New("websocket listener closed") const ( FrpWebsocketPath = "/~!frp" ) .... ``` ### Describe alternatives you've considered 能否支持FrpWebsocketPath 在配置文件中配置,目前固定为/~!frp ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [x] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [x] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:30:35 -06:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 10, 2025):

Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.

<!-- gh-comment-id:3387878306 --> @github-actions[bot] commented on GitHub (Oct 10, 2025): Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.
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#3938
No description provided.