Commit Graph

5526 Commits

Author SHA1 Message Date
Marten Seemann
7c74d1eb47 add support for Go 1.17 Beta 1 2021-06-15 12:29:48 -07:00
Marten Seemann
e36795e066 Merge pull request #3202 from lucas-clemente/gomodvendor
add a CI test that go mod vendor works
2021-06-14 18:31:53 -07:00
Marten Seemann
a203702c28 add a CI test that go mod vendor works 2021-06-13 23:26:24 -07:00
Marten Seemann
40a5dbef91 Merge pull request #3195 from lucas-clemente/fix-go118-vendoring
prevent go mod vendor from stumbling over the Go 1.18 file
2021-06-13 23:26:01 -07:00
Marten Seemann
1b3b4e1ba8 Merge pull request #3201 from lucas-clemente/update-gomock
update gomock to v1.6.0
2021-06-13 23:25:45 -07:00
Marten Seemann
9dcc3fbebf update gomock to v1.6.0 2021-06-13 10:29:19 -07:00
Marten Seemann
2e7c56dacc prevent go mod vendor from stumbling over the Go 1.18 file 2021-06-03 13:33:22 -07:00
Marten Seemann
af3e1008ad Merge pull request #3192 from lucas-clemente/remove-qtls-functions-go-117
remove CipherSuiteName and HkdfExtract for Go 1.17
v0.21.0 v.0.21
2021-05-30 21:24:59 -07:00
Marten Seemann
bffe54007b remove CipherSuiteName and HkdfExtract for Go 1.17 2021-05-30 20:52:22 -07:00
Marten Seemann
a2c14938ec fix relocation target for cipherSuiteTLS13ByID in Go 1.17 2021-05-30 20:51:21 -07:00
Marten Seemann
99a936b124 Merge pull request #3173 from lucas-clemente/use-x-crypto-hkdf-expand
use HkdfExtract from x/crypto
2021-05-30 20:48:50 -07:00
Marten Seemann
22112b7b66 use HkdfExtract from x/crypto
This means we don't have to expose it in qtls any more.
2021-05-30 20:26:55 -07:00
Marten Seemann
31191f7091 Merge pull request #3190 from lucas-clemente/quic-v1
add support for QUIC v1, RFC 9000
2021-05-29 23:46:52 -07:00
Marten Seemann
68da2c4468 add support for QUIC v1, RFC 9000 2021-05-29 11:56:14 -07:00
Marten Seemann
540c6ec074 Merge pull request #3174 from lucas-clemente/use-tls-cipher-suite-name
use tls.CipherSuiteName, instead of wrapping it in the qtls package
2021-05-29 11:45:39 -07:00
Marten Seemann
0790066a2e Merge pull request #3175 from lucas-clemente/dont-use-qtls-hkdf-expand-label
use a pre-generated test vectors to test hkdfExpandLabel
2021-05-29 11:41:11 -07:00
Marten Seemann
bfb938da3c Merge pull request #3181 from lucas-clemente/reduce-packet-number-generator-test-flakiness
reduce flakiness of packet number generation test
2021-05-29 11:40:58 -07:00
Marten Seemann
efe70b6c9e Merge pull request #3185 from lucas-clemente/simplify-qtls-tests
simplify the qtls tests
2021-05-29 11:40:45 -07:00
Marten Seemann
d64e40895b simplify the qtls tests 2021-05-17 09:05:08 -07:00
Marten Seemann
bd9b085c74 Merge pull request #3182 from lucas-clemente/go117-tip
add support for Go 1.17 (tip)
2021-05-17 09:01:42 -07:00
Marten Seemann
808c9c4361 add support for Go 1.17 (tip) 2021-05-16 18:56:27 -07:00
Marten Seemann
e08cda58ba Merge pull request #3180 from lucas-clemente/fail-on-go-1-17
prevent quic-go from building on Go 1.17
2021-05-16 08:27:19 -07:00
Marten Seemann
2f205a4c00 reduce flakiness of packet number generation test 2021-05-15 19:10:37 -07:00
Marten Seemann
b61e2faf79 prevent quic-go from building on Go 1.17 2021-05-15 19:01:56 -07:00
Marten Seemann
0bc0e96161 Merge pull request #3178 from lucas-clemente/fix-windows-ipv6-dontfragment
fix DONT_FRAGMENT error when using a IPv6 connection on Windows
2021-05-11 12:46:20 -07:00
Marten Seemann
22a703b669 fix DONT_FRAGMENT error when using a IPv6 connection on Windows
The syscall setting the IP_DONTFRAGMENT socket option will fail if the
underlying connection is a IPv6 connection. Since Go doesn't allow us to
distinguish between IPv6 and dual-stack connections, we can only ignore the
error here.
2021-05-11 12:33:40 -07:00
Marten Seemann
599d181316 use tls.CipherSuiteName, instead of wrapping it in the qtls package 2021-05-10 20:41:21 -07:00
Marten Seemann
05af55b0c9 use a pre-generated test vectors to test hkdfExpandLabel
The only reason we were using qtls.HkdfExpandLabel was to test our own
implementation of HKDF-Expand-Label. By using a pre-generated test
vector, we won't have to expose this function from qtls any more.
2021-05-10 20:41:05 -07:00
Marten Seemann
50746dbea6 Merge pull request #3176 from lucas-clemente/fix-circle
use go install to install Ginkgo on CircleCI
2021-05-10 20:40:02 -07:00
Marten Seemann
9ca4c86d1e use go install to install Ginkgo on CircleCI 2021-05-10 20:11:41 -07:00
Marten Seemann
8d62ebffae Merge pull request #3163 from lucas-clemente/err-closed
use net.ErrClosed (for Go 1.16)
2021-05-04 19:21:47 +07:00
Marten Seemann
d97f03bc04 Merge pull request #3166 from lucas-clemente/close-reason-logging
use the new error types to log the reason why a connection is closed
2021-05-04 18:34:34 +07:00
Marten Seemann
bbcbe998ae Merge pull request #3165 from lucas-clemente/fix-deadline-test-race
fix race condition in deadline integration test
2021-05-03 14:14:04 +07:00
Marten Seemann
42ecbf0000 qlog the reason phrase of application and transport errors 2021-05-03 14:04:03 +07:00
Marten Seemann
1613809ba2 use the new error types to log the reason why a connection is closed 2021-05-03 14:00:41 +07:00
Marten Seemann
e8b09bc290 fix race condition in deadline integration test 2021-05-03 13:24:06 +07:00
Marten Seemann
5f2cf0422e Merge pull request #3160 from lucas-clemente/quic-v1
add support for QUIC v1
2021-05-03 09:34:37 +07:00
Marten Seemann
b38498273b use net.ErrClosed (for Go 1.16) 2021-05-01 12:55:42 +07:00
Marten Seemann
6b771df453 add support for QUIC v1 2021-05-01 10:05:29 +07:00
Marten Seemann
b8f07c728c Merge pull request #3159 from lucas-clemente/error-returns
rework error return values
2021-05-01 10:02:05 +07:00
Marten Seemann
3af05971b6 improve documentation of errors for Session and Stream 2021-05-01 09:45:45 +07:00
Marten Seemann
34322f2214 export the IdleTimeoutError and the HandshakeTimeoutError 2021-05-01 09:39:52 +07:00
Marten Seemann
90727cb41a introduce a quic.StreamError type and use it for stream cancelations 2021-05-01 09:39:52 +07:00
Marten Seemann
93cfef57ca expose a StatelessResetError 2021-05-01 09:39:51 +07:00
Marten Seemann
1ce572228b expose a VersionNegoationError 2021-05-01 09:39:24 +07:00
Marten Seemann
42b61729bd expose the TransportError and the ApplicationError 2021-05-01 09:38:49 +07:00
Marten Seemann
f5238bf7b1 move the ApplicationErrorCdoe to the qerr package 2021-05-01 09:38:49 +07:00
Marten Seemann
592fb9cad9 introduce a dedicated qerr.TransportError and qerr.ApplicationError 2021-05-01 09:38:48 +07:00
Marten Seemann
ddeb2281fc Merge pull request #3152 from lucas-clemente/pmtu-early-retransmit
declare Path MTU probe packets lost with the early retransmit timer
2021-05-01 00:45:35 +07:00
Marten Seemann
dd052657c5 declare Path MTU probe packets lost with the early retransmit timer 2021-04-30 23:57:49 +07:00