[PR #917] [CLOSED] 使用websocket协议时,每隔55秒发送pingFrame到frpc #4274

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

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/917
Author: @uin57
Created: 9/9/2018
Status: Closed

Base: masterHead: patch-1


📝 Commits (1)

  • 50d19c7 send pingFrame from frps to frpc

📊 Changes

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

View changed files

📝 utils/net/websocket.go (+31 -1)

📄 Description

frps使用websocket协议运行在nginx后面的时候,如果没有数据传输会被nginx判定读超时,断开websocket链接。


🔄 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/917 **Author:** [@uin57](https://github.com/uin57) **Created:** 9/9/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`50d19c7`](https://github.com/fatedier/frp/commit/50d19c71eb9716918d5adfd3899e0667e99e2c4d) send pingFrame from frps to frpc ### 📊 Changes **1 file changed** (+31 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `utils/net/websocket.go` (+31 -1) </details> ### 📄 Description frps使用websocket协议运行在nginx后面的时候,如果没有数据传输会被nginx判定读超时,断开websocket链接。 --- <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:38:57 -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#4274
No description provided.