commit | dd5bc96b138a4a27c151b47f09059ce31d13ecfc | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Thu Jul 20 16:50:08 2023 -0700 |
committer | Gopher Robot <gobot@golang.org> | Fri Jul 21 08:55:12 2023 +0000 |
tree | a8add5c20eb47cd9addd72b6c8089a0b3371bf5d | |
parent | d0912d407c27bec63dfa5df0ef9012910774f8f4 [diff] |
internal/quic: deflake TestConnTestConn Sending a message to a connection returns an error when the connection event loop had exited. This is unreliable, since a sent to the conn's message channel can succeed after the event loop exits, writing the message to the channel buffer. Drop the error return from Conn.sendMsg; it isn't useful, since it's always possible for the connection to exit with messages still in the channel buffer. Fixes golang/go#61485 Change-Id: Ic8351f984df827af881cf7b6d93d97031d2e615c Reviewed-on: https://go-review.googlesource.com/c/net/+/511658 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Jonathan Amsterdam <jba@google.com> Auto-Submit: Damien Neil <dneil@google.com> Run-TryBot: Damien Neil <dneil@google.com>
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.