Skip to content

Commit

Permalink
fix(hy2): dialer regression introduced by #21 pr (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
douglarek authored Sep 28, 2024
1 parent 44f9945 commit b1e2581
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dialer/hysteria2/hysteria2.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ func (s *Hysteria2) Dialer(option *dialer.ExtraOption, nextDialer netproxy.Diale
}
if header.SNI == "" {
header.SNI = s.Server
header.TlsConfig.ServerName = s.Server
}
if s.MaxTx > 0 && s.MaxRx > 0 {
header.Feature1 = &client.BandwidthConfig{
Expand Down

0 comments on commit b1e2581

Please sign in to comment.