[PR #3474] [MERGED] yamux: change default MaxStreamWindowSize to 6MB #4758

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

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/3474
Author: @fatedier
Created: 6/2/2023
Status: Merged
Merged: 6/4/2023
Merged by: @fatedier

Base: devHead: yamux


📝 Commits (1)

  • f37825b yamux: change default MaxStreamWindowSize to 6MB

📊 Changes

4 files changed (+4 additions, -2 deletions)

View changed files

📝 client/proxy/xtcp.go (+1 -1)
📝 client/service.go (+1 -0)
📝 client/visitor/xtcp.go (+1 -1)
📝 server/service.go (+1 -0)

📄 Description

Summary

🤖 Generated by Copilot at f37825b

Increased the fmux MaxStreamWindowSize parameter from 2 MB to 6 MB in all files related to xtcp proxy mode. This improves the performance and stability of xtcp proxy mode by allowing more TCP streams to be multiplexed over a single connection.

WHY

Fix #2987

Walkthrough

🤖 Generated by Copilot at f37825b

  • Increase MaxStreamWindowSize of fmux configuration from 2 MB to 6 MB for xtcp proxy mode (link, link, link, link)

🔄 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/3474 **Author:** [@fatedier](https://github.com/fatedier) **Created:** 6/2/2023 **Status:** ✅ Merged **Merged:** 6/4/2023 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `yamux` --- ### 📝 Commits (1) - [`f37825b`](https://github.com/fatedier/frp/commit/f37825bb75ea957cc096d37c09f347ef6111babc) yamux: change default MaxStreamWindowSize to 6MB ### 📊 Changes **4 files changed** (+4 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `client/proxy/xtcp.go` (+1 -1) 📝 `client/service.go` (+1 -0) 📝 `client/visitor/xtcp.go` (+1 -1) 📝 `server/service.go` (+1 -0) </details> ### 📄 Description ### Summary <!-- copilot:summary --> ### <samp>🤖 Generated by Copilot at f37825b</samp> Increased the `fmux` `MaxStreamWindowSize` parameter from 2 MB to 6 MB in all files related to xtcp proxy mode. This improves the performance and stability of xtcp proxy mode by allowing more TCP streams to be multiplexed over a single connection. ### WHY Fix #2987 ### Walkthrough <!-- copilot:walkthrough --> ### <samp>🤖 Generated by Copilot at f37825b</samp> * Increase `MaxStreamWindowSize` of `fmux` configuration from 2 MB to 6 MB for xtcp proxy mode ([link](https://github.com/fatedier/frp/pull/3474/files?diff=unified&w=0#diff-4cb1b15b8cab86ab95dc1aba5fea2604cfd0aaa79fe92369da06f2c3d9f12e93L140-R140), [link](https://github.com/fatedier/frp/pull/3474/files?diff=unified&w=0#diff-37135e06c87eb7f15648ee3df06d54a2a52cab735ea4110e81610945fe38f7d4R399), [link](https://github.com/fatedier/frp/pull/3474/files?diff=unified&w=0#diff-ab3060623fd2bc094ac0766bc594d8ab3b4de37fb944ad03c80bb25af0c9e486L354-R354), [link](https://github.com/fatedier/frp/pull/3474/files?diff=unified&w=0#diff-7cd1def768b5bcc52b79dd84b45271a4f4c0604d574564e6b60e8f2770691394R464)) --- <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:48:09 -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#4758
No description provided.