Skip to content

Commit

Permalink
🍃 service: enable TFO fallback in default client
Browse files Browse the repository at this point in the history
So it works out-of-box on all platforms.
  • Loading branch information
database64128 committed Jun 6, 2024
1 parent dd46d9f commit 7d34e0d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@ func (sc *Config) Manager(logger *zap.Logger) (*Manager, error) {
if len(sc.Clients) == 0 {
sc.Clients = []ClientConfig{
{
Name: "direct",
Protocol: "direct",
EnableTCP: true,
DialerTFO: true,
EnableUDP: true,
MTU: 1500,
Name: "direct",
Protocol: "direct",
EnableTCP: true,
DialerTFO: true,
TCPFastOpenFallback: true,
EnableUDP: true,
MTU: 1500,
},
}
}
Expand Down

0 comments on commit 7d34e0d

Please sign in to comment.