|author||Bryan C. Mills <email@example.com>||Wed Dec 15 14:03:52 2021 -0500|
|committer||Bryan Mills <firstname.lastname@example.org>||Thu Dec 16 03:09:14 2021 +0000|
netutil: streamline and simplify LimitListener tests TestLimitListener had made a lot of assumptions about the kernel's willingness to queue unaccepted connections, and relied on arbitrary timeouts to shed load if the queue saturates. This change eliminates the arbitrary timeouts, replacing them with synchronization and cancellation and leaving only a couple of arbitrary sleeps (that can be exceeded by arbitrary amounts without causing the test to fail). Fixes golang/go#22926 Change-Id: Ibecff6254ec966e1cc98cf96c71493f18d3aaebe Reviewed-on: https://go-review.googlesource.com/c/net/+/372495 Trust: Bryan Mills <email@example.com> Reviewed-by: Ian Lance Taylor <firstname.lastname@example.org> Run-TryBot: Bryan Mills <email@example.com> TryBot-Result: Gopher Robot <firstname.lastname@example.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
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.