Commit Graph

5196 Commits

Author SHA1 Message Date
Marten Seemann
ec2b9f47ca qlog the max_datagram_frame_size transport parameter 2021-01-11 16:19:05 +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
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
Marten Seemann
e2df1d9d15 Merge pull request #2953 from lucas-clemente/go116
add support for Go 1.16
2020-12-30 12:21:19 +08:00
Marten Seemann
57e3f55279 add support for Go 1.16 2020-12-29 11:48:02 +07:00
Marten Seemann
b47fe87e51 Merge pull request #2952 from lucas-clemente/reset-h3-uni-stream-when-type-unknown
cancel reading on unidirectional streams when the stream type is unknown
2020-12-29 07:42:24 +07:00
Marten Seemann
052d0b2124 Merge pull request #2956 from lucas-clemente/remove-duplicate-scheme-check
remove duplicate check of the URL scheme in the HTTP/3 client
2020-12-29 07:42:03 +07:00
Marten Seemann
41970dfe8d Merge pull request #2955 from lucas-clemente/fail-fast-strategy
disable fail-fast for all GitHub Actions matrix builds
2020-12-29 07:41:46 +07:00
Marten Seemann
7e4ac36b2f remove duplicate check of the URL scheme in the HTTP/3 client
There's already a check like this performed in the http3.RoundTripper.
2020-12-25 13:15:53 +07:00
Marten Seemann
434f7b1b16 disable fail-fast for all GitHub Actions matrix builds 2020-12-25 12:07:40 +07:00
Marten Seemann
68e8c4d1dd Merge pull request #2954 from lucas-clemente/fix-flaky-zero-rtt-queue-test
increase queueing duration in 0-RTT queue test to reduce flakiness
2020-12-23 17:26:54 +07:00
Marten Seemann
dab2f70aa4 increase queueing duration in 0-RTT queue test to reduce flakiness 2020-12-23 16:50:17 +07:00
Marten Seemann
4ad144c50a Merge pull request #2951 from lucas-clemente/h3-datagram-negotiation
implement the HTTP/3 Datagram negotiation
2020-12-23 15:19:21 +07:00
Marten Seemann
b753005137 check that QUIC layer negotiated datagram support when handing SETTINGS 2020-12-23 15:06:04 +07:00
Marten Seemann
3cb07d8f00 add a http3.RoundTripper.EnableDatagram option 2020-12-23 15:06:04 +07:00
Marten Seemann
0b0cb7c06f add a http3.Server.EnableDatagram option 2020-12-23 15:06:04 +07:00
Marten Seemann
aaf1d381d3 implement parsing and writing of the H3_DATAGRAM setting 2020-12-23 15:06:04 +07:00
Marten Seemann
160c11bd34 cancel reading on unidirectional streams when the stream type is unknown
Otherwise the stream would remain open indefinitely.
2020-12-23 15:00:01 +07:00
Marten Seemann
f68dfd5c3b Merge pull request #2949 from lucas-clemente/http3-control-streams
implement HTTP/3 control stream handling
2020-12-23 14:58:51 +07:00
Marten Seemann
808671e2d4 accept the control stream and parse SETTINGS frame, for the H3 client 2020-12-23 14:49:41 +07:00
Marten Seemann
f92b0ec74a make the HTTP/3 client request tests more strict 2020-12-23 14:47:16 +07:00
Marten Seemann
04eebb7f6a reject push streams initiated by the client 2020-12-23 14:47:16 +07:00