mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-08-17 14:51:45 +00:00
feat: BBR
This commit is contained in:
@@ -185,7 +185,8 @@ func (c *clientConfig) fillQUICConfig(hyConfig *client.Config) error {
|
||||
|
||||
func (c *clientConfig) fillBandwidthConfig(hyConfig *client.Config) error {
|
||||
if c.Bandwidth.Up == "" || c.Bandwidth.Down == "" {
|
||||
return configError{Field: "bandwidth", Err: errors.New("both up and down bandwidth must be set")}
|
||||
// New core now allows users to omit bandwidth values and use built-in congestion control
|
||||
return nil
|
||||
}
|
||||
var err error
|
||||
hyConfig.BandwidthConfig.MaxTx, err = convBandwidth(c.Bandwidth.Up)
|
||||
|
Reference in New Issue
Block a user