commit | b82f062c4bc1abcfe993e3750d64c4bdd4a14f87 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Tue Aug 29 15:35:30 2023 -0700 |
committer | Damien Neil <dneil@google.com> | Wed Aug 30 15:27:37 2023 +0000 |
tree | b31bd99367f6405cea88e9a9e6dd0dce99f73017 | |
parent | 7374d342a2c3de79d7b96f3aacdb13498c3fc3b5 [diff] |
quic: include ignored frames in test log output When looking at a test log, it's a bit confusing to have some of the frames silently omitted. Print ignored frames. Unfortunately, this means we need to do the actual ignoring of frames after printing the packet. We specify frames to ignore by the frame number, but after parsing we don't have a simple way to map from the debugFrame type back to the number. Add a big, ugly mapping function to do this; it's clunky, but isolated to one function in tests. For golang/go#58547 Change-Id: I242f5511dc16be2350fa49030af38588fe92a988 Reviewed-on: https://go-review.googlesource.com/c/net/+/524295 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Jonathan Amsterdam <jba@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.