link to the wiki explaining the UDP receive buffer size

This commit is contained in:
Marten Seemann 2020-12-02 15:52:24 +07:00
parent 0eb3f14a60
commit b0974c14ad
3 changed files with 7 additions and 7 deletions

View file

@ -96,7 +96,7 @@ func newPacketHandlerMap(
) (packetHandlerManager, error) {
if err := setReceiveBuffer(c, logger); err != nil {
receiveBufferWarningOnce.Do(func() {
log.Println(err)
log.Printf("%s. See https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size for details.", err)
})
}
conn, err := wrapConn(c)