Skip to content

Commit

Permalink
🍃 conn: enable TFO fallback in DefaultTCPDialerSocketOptions
Browse files Browse the repository at this point in the history
�This fixes tests on platforms without TFO support.
  • Loading branch information
database64128 committed Jun 14, 2024
1 parent 024dbcd commit 0a2327e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conn/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,8 @@ func (dso DialerSocketOptions) Dialer() Dialer {
var (
// DefaultTCPDialerSocketOptions is the default [DialerSocketOptions] for TCP clients.
DefaultTCPDialerSocketOptions = DialerSocketOptions{
TCPFastOpen: true,
TCPFastOpen: true,
TCPFastOpenFallback: true,
}

// DefaultTCPDialer is the default [Dialer] for TCP clients.
Expand Down

0 comments on commit 0a2327e

Please sign in to comment.