mirror of
https://github.com/fatedier/frp.git
synced 2025-07-28 13:50:31 +07:00
yamux: change default MaxStreamWindowSize to 6MB (#3474)
This commit is contained in:
@ -396,6 +396,7 @@ func (cm *ConnectionManager) OpenConnection() error {
|
||||
fmuxCfg := fmux.DefaultConfig()
|
||||
fmuxCfg.KeepAliveInterval = time.Duration(cm.cfg.TCPMuxKeepaliveInterval) * time.Second
|
||||
fmuxCfg.LogOutput = io.Discard
|
||||
fmuxCfg.MaxStreamWindowSize = 6 * 1024 * 1024
|
||||
session, err := fmux.Client(conn, fmuxCfg)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user