This repository has been archived by the owner on May 26, 2022. It is now read-only.
make sure the packet conn exposes UDPConn functions #178
Labels
exp/expert
Having worked on the specific codebase is important
quic-go uses interface assertion to test for functions specific to the
net.UDPConn
, e.g.SetReadBuffer()
. Since ournet.PacketConn
wraps theUDPConn
in multiple layers, the interface assertion will fail (see https://play.golang.org/p/GHDrrvwaI2c for a minimal example), thus disabling optimization that should be possible.Note that this might require changes to quic-go.
The text was updated successfully, but these errors were encountered: