commit | eba003a116a94930e33f274e671b809da7b20b03 | [log] [tgz] |
---|---|---|
author | Bryan C. Mills <bcmills@google.com> | Fri Dec 03 12:12:01 2021 -0500 |
committer | Bryan Mills <bcmills@google.com> | Mon Dec 06 22:34:03 2021 +0000 |
tree | 4ed817284ff8e9aa4f0053b1a6867bc88861fae4 | |
parent | 266e24b1e4b7943e7bd5eab239b2d31d3d2afa02 [diff] |
ipv6: in PacketConn tests, retry writes that fail with ENOBUFS In golang/go#37319, TestPacketConnReadWriteMulticastUDP was observed to occasionally fail with ENOBUFS on macOS. This change adds a retry loop for that test function. There are some other related test functions that may also wrap sendmsg, but I have not observed any ENOBUFS failures for them — I suspect that some difference in protocol or traffic class prevents this failure mode, but we can always add more retry loops if we discover that they are actually needed. Fixes golang/go#37319. Change-Id: I99fce94ff10c6f3c09d493712eba782ec8707a58 Reviewed-on: https://go-review.googlesource.com/c/net/+/369742 Trust: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This repository holds supplementary Go networking libraries.
The easiest way to install is to run go get -u golang.org/x/net
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.