[PR #50] [MERGED] frp/models/msg: fix a bug if local service write to socket immediatel… #4120

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

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/50
Author: @fatedier
Created: 7/20/2016
Status: Merged
Merged: 7/20/2016
Merged by: @fatedier

Base: devHead: fatedier/fix_package_loss


📝 Commits (2)

  • 4f49458 frp/models/msg: fix a bug if local service write to socket immediately every time accept one user connection, fix #20
  • 926d0b7 utils/vhost: update TcpConn with bufio.Reader

📊 Changes

4 files changed (+27 additions, -18 deletions)

View changed files

📝 src/frp/models/msg/process.go (+9 -13)
📝 src/frp/models/server/server.go (+2 -3)
📝 src/frp/utils/conn/conn.go (+15 -1)
📝 src/frp/utils/vhost/vhost.go (+1 -1)

📄 Description

…y every time accept one user connection, fix #20


🔄 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/50 **Author:** [@fatedier](https://github.com/fatedier) **Created:** 7/20/2016 **Status:** ✅ Merged **Merged:** 7/20/2016 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `fatedier/fix_package_loss` --- ### 📝 Commits (2) - [`4f49458`](https://github.com/fatedier/frp/commit/4f49458af0cd69c203c2185bb10d9b3183bd93b7) frp/models/msg: fix a bug if local service write to socket immediately every time accept one user connection, fix #20 - [`926d0b7`](https://github.com/fatedier/frp/commit/926d0b74a9a99bed17bf0deaa7e7eb2cc1059acf) utils/vhost: update TcpConn with bufio.Reader ### 📊 Changes **4 files changed** (+27 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `src/frp/models/msg/process.go` (+9 -13) 📝 `src/frp/models/server/server.go` (+2 -3) 📝 `src/frp/utils/conn/conn.go` (+15 -1) 📝 `src/frp/utils/vhost/vhost.go` (+1 -1) </details> ### 📄 Description …y every time accept one user connection, fix #20 --- <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:36:03 -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#4120
No description provided.