chore: support set cwnd for hy2 too

This commit is contained in:
wwqgtxx
2023-09-21 16:41:31 +08:00
parent ee3213c28f
commit da24810da2
7 changed files with 13 additions and 5 deletions

View File

@ -16,6 +16,7 @@ type Hysteria2Server struct {
Down string `yaml:"down" json:"down,omitempty"`
IgnoreClientBandwidth bool `yaml:"ignore-client-bandwidth" json:"ignore-client-bandwidth,omitempty"`
Masquerade string `yaml:"masquerade" json:"masquerade,omitempty"`
CWND int `yaml:"cwnd" json:"cwnd,omitempty"`
}
func (h Hysteria2Server) String() string {