Commit Graph

5215 Commits

Author SHA1 Message Date
Marten Seemann
a5c20b8a38 Merge pull request #2992 from lucas-clemente/improve-go-generate-comparison-output
use a text-based comparison in the go-generate workflow
2021-01-15 17:07:15 +08:00
Marten Seemann
eea89a521d Merge pull request #2994 from lucas-clemente/golangci-lint-extra-job
run golangci-lint in a separate job
2021-01-15 17:06:50 +08:00
Marten Seemann
fdbd5baed5 Merge pull request #2990 from lucas-clemente/improve-zero-rtt-queue
improve 0-RTT queue
2021-01-15 17:06:35 +08:00
Marten Seemann
cafa7c45d0 Merge pull request #2995 from lucas-clemente/simplify-tp-parsing-switch
simplify switch statement in the transport parameter parser
2021-01-15 17:05:59 +08:00
Marten Seemann
b50933737d Merge pull request #2996 from lucas-clemente/remove-unneeded-overflow-check
remove unneeded overflow check when parsing the max_ack_delay
2021-01-15 17:04:01 +08:00
Marten Seemann
460f7883b0 Merge pull request #2998 from lucas-clemente/remove-unneeded-app-data-packets-check
remove unneeded check in receivedPacketHandler.IsPotentiallyDuplicate
2021-01-15 17:03:43 +08:00
Marten Seemann
c430c27910 Merge pull request #2997 from lucas-clemente/qlog-max-datagram-frame-size
qlog the max_datagram_frame_size transport parameter
2021-01-15 17:03:26 +08:00
Marten Seemann
5eaf327e06 Merge pull request #2987 from lucas-clemente/qlog-draft-02-fixes
qlog draft-02 fixes
2021-01-15 16:57:35 +08:00
Marten Seemann
4f598e0cdc Merge pull request #2981 from lucas-clemente/fix-flaky-qlog-test
fix flaky qlog test
2021-01-15 16:57:18 +08:00
Marten Seemann
c5b610f6a5 remove unneeded check in receivedPacketHandler.IsPotentiallyDuplicate
The application data packet number space is never dropped.
2021-01-11 16:56:34 +08:00
Marten Seemann
ec2b9f47ca qlog the max_datagram_frame_size transport parameter 2021-01-11 16:19:05 +08:00
Marten Seemann
2e5c43bef0 remove unneeded overflow check when parsing the max_ack_delay 2021-01-11 15:57:47 +08:00
Marten Seemann
8e94f08ee5 simplify switch statement in the transport parameter parser 2021-01-11 15:29:00 +08:00
Marten Seemann
ec3482d261 run golangci-lint in a separate job 2021-01-11 14:58:56 +08:00
Marten Seemann
018b7dc76d use a text-based comparison in the go-generate workflow 2021-01-09 17:32:53 +08:00
Marten Seemann
86cec07568 remove the Max0RTTQueueLen and the MaxUndecrytablePackets by 1
Using values below a power of 2 might improve memory allocation.
2021-01-09 13:35:19 +08:00
Marten Seemann
7a301aae3d dequeue all 0-RTT packets to the session in one go 2021-01-09 13:34:05 +08:00
Marten Seemann
f28db16df4 fix packet_type logging for packet_lost, packet_dropped and packet_buffered 2021-01-07 11:18:18 +08:00
Marten Seemann
84af90f2f8 qlog the packet size in the newly introduced RawInfo 2021-01-07 11:02:00 +08:00
Marten Seemann
d1c5297c0b Merge pull request #2983 from lucas-clemente/gofumpt-limit-to-go-files
only run gofumpt on .go files in pre-commit hook
2021-01-06 11:05:44 +08:00
Marten Seemann
a6c767183c only run gofumpt on .go files in pre-commit hook 2021-01-06 10:48:41 +08:00
Marten Seemann
4653549266 fix outdated comment for the http3.Server 2021-01-05 11:21:44 +08:00
Marten Seemann
4c079b9ede Merge pull request #2978 from lucas-clemente/fix-openstreamsync-cancelation-test
make the OpenStreamSync cancelation test less flaky
2021-01-04 15:32:19 +08:00
Marten Seemann
b022d04b0f make the OpenStreamSync cancelation test less flaky 2021-01-04 15:12:49 +08:00
Marten Seemann
405297ba8d fix flaky qlog test 2021-01-04 14:29:47 +08:00
Marten Seemann
6a7f1de261 Merge pull request #2979 from lucas-clemente/pre-commit-hook
add some useful pre-commit hooks
2021-01-03 21:00:51 +08:00
Marten Seemann
12571e3668 add a pre-commit hook that check that files are properly gofumpt-ed 2021-01-02 18:27:18 +08:00
Marten Seemann
c4789ccb28 add a pre-commit hook that checks that tests are not focussed 2021-01-02 18:02:20 +08:00
Marten Seemann
d9c7467b56 Merge pull request #2973 from lucas-clemente/publicize-varint
publicize QUIC varint reading and writing
2021-01-02 12:05:53 +08:00
Marten Seemann
5e7fb50223 Merge pull request #2962 from lucas-clemente/skip-scheme-check
add a http3.RoundTripOpt to skip the request scheme check
2021-01-02 12:05:19 +08:00
Marten Seemann
c78634df38 add a http3.RoundTripOpt to skip the request scheme check
Otherwise, we'll only be able to issue https requests. This is what we
usually want, but for MASQUE support, the URL will be of the form
masque://example.org.
2021-01-02 10:21:18 +08:00
Marten Seemann
a6e78498f6 Merge pull request #2967 from lucas-clemente/improve-go-mod-tidy-workflow
improve go mod tidy workflow
2021-01-02 09:49:46 +08:00
Marten Seemann
6d9aa9c9f0 Merge pull request #2970 from lucas-clemente/deadline-test-quic-config
use the standard quic.Config in the deadline tests
2021-01-02 09:49:31 +08:00
Marten Seemann
694e762e41 Merge pull request #2964 from lucas-clemente/update-golangci-lint
update golangci-lint to v1.34.1
2021-01-02 09:49:15 +08:00
Marten Seemann
f9226887b4 rename ReadVarint / WriteVarInt / VarIntLen to Read / Write / Len 2021-01-02 00:15:07 +08:00
Marten Seemann
e418ef8372 Merge pull request #2975 from lucas-clemente/update-versions-in-readme
update text about QUIC versions in the README
2021-01-02 00:11:00 +08:00
Marten Seemann
ef56c8c01c Merge pull request #2976 from lucas-clemente/enable-darwin-arm64-cross-compile
reenable cross compilation test on darwin/arm64 for Go 1.16
2021-01-02 00:10:34 +08:00
Marten Seemann
72136ee9be Merge pull request #2972 from lucas-clemente/fix-openbsd-mips64
update golang.org/x/sys to allow building on openbsd/mips64
2021-01-02 00:10:23 +08:00
Marten Seemann
428bf488d1 remove stray TODO in the http3.Server 2021-01-01 12:50:21 +08:00
Marten Seemann
4b2d54cbcd reenable cross compilation test on darwin/arm64 2021-01-01 12:43:06 +08:00
Marten Seemann
a0d6b28046 update text about QUIC versions in the README 2021-01-01 11:57:20 +08:00
Marten Seemann
11c5045065 move varint encoding / decoding to a separate package
... which is not internal.
2021-01-01 11:46:45 +08:00
Marten Seemann
71f0702237 update golang.org/x/sys to allow building on openbsd/mips64 2021-01-01 11:43:19 +08:00
Marten Seemann
770ad155f2 use the standard quic.Config in the deadline tests 2020-12-31 18:35:08 +08:00
Marten Seemann
602212e983 Merge pull request #2968 from lucas-clemente/fix-setup-go-stable
fix YAML syntax error in setup-go step
2020-12-31 12:58:39 +08:00
Marten Seemann
cc619f118e fix YAML syntax error in setup-go step 2020-12-31 12:37:59 +08:00
Marten Seemann
54666a0abb use diff instead of cmp to compare the tidied go.mod and go.sum files 2020-12-30 13:04:23 +08:00
Marten Seemann
909c92a112 explicitily set the Go version in the linting workflow
This should be set to the most recent (stable) Go version that we
support.
2020-12-30 13:03:56 +08:00
Marten Seemann
38d4d63d3c update golangci-lint to v1.34.1 2020-12-30 12:29:04 +08:00
Marten Seemann
7867e6995c fix malformed nolint comment 2020-12-30 12:29:04 +08:00