[PR #2198] [CLOSED] fix: websocket on http #4520

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

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/2198
Author: @jlikeme
Created: 1/18/2021
Status: Closed

Base: devHead: dev


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 pkg/util/vhost/reverseproxy.go (+1 -0)

📄 Description

sending websocket request on http port with http type, frps will forward request and add the header that including Connection: close, then ws service can't response normally.

issue is #2195

set DisableKeepAlives=false


🔄 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/2198 **Author:** [@jlikeme](https://github.com/jlikeme) **Created:** 1/18/2021 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (1) - [`0127135`](https://github.com/fatedier/frp/commit/0127135017c8237626ab84228ef3d05338d1c1b0) fix: websocket on http ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `pkg/util/vhost/reverseproxy.go` (+1 -0) </details> ### 📄 Description sending websocket request on http port with `http` type, frps will forward request and add the header that including `Connection: close`, then ws service can't response normally. issue is #2195 set DisableKeepAlives=false --- <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:43:40 -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#4520
No description provided.