Skip to content

Commit

Permalink
Workaround quic-go#3947
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo committed Jul 12, 2023
1 parent 511bb13 commit 291f150
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion p2p/transport/quicreuse/connmgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,5 +247,8 @@ func listenAndOptimize(network string, laddr *net.UDPAddr) (net.PacketConn, erro
if err != nil {
return nil, err
}
return quic.OptimizeConn(conn)
// We aren't actually calling optimizeConn here because of https://github.com/quic-go/quic-go/issues/3947
// Either enable this or remove this function depending on how that issue is resolved.
// return quic.OptimizeConn(conn)
return conn, err
}

0 comments on commit 291f150

Please sign in to comment.