Commit Graph

5516 Commits

Author SHA1 Message Date
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
Marten Seemann
d2739abd74 Merge pull request #3148 from lucas-clemente/fix-on-loss-detection-busy-looping
declare the handshake confirmed when receiving an ACK for a 1-RTT packet
2021-04-30 23:57:17 +07:00
Marten Seemann
f6f81bee4b Merge pull request #3140 from lucas-clemente/update-go-mod-version
update Go version in go.mod to Go 1.15
2021-04-28 18:13:43 +07:00
Marten Seemann
0413afd615 Merge pull request #3153 from lucas-clemente/trace-version-selection
trace and qlog version selection / negotiation
2021-04-28 18:13:18 +07:00
Toby
84e03e5976 set the don't fragment (DF) bit on Windows (#3155) 2021-04-21 12:39:39 +07:00
Marten Seemann
0a063966a7 Merge pull request #3154 from lucas-clemente/fix-tracer-for-connection-doc
fix doc comment for Tracer.TracerForConnection
2021-04-19 19:40:07 +07:00
Marten Seemann
eb2274bded fix doc comment for Tracer.TracerForConnection 2021-04-19 15:25:02 +07:00
Marten Seemann
8f20817ef9 Merge pull request #3146 from lucas-clemente/tracing-context
make it possible to associate a ConnectionTracer with a Session
2021-04-19 14:52:10 +07:00
Marten Seemann
82cd9b5078 Merge pull request #3147 from lucas-clemente/remove-editorconfig
remove the .editorconfig
2021-04-19 13:35:16 +07:00
Marten Seemann
e7c4e756ad trace and qlog version selection / negotiation 2021-04-19 11:38:10 +07:00
Marten Seemann
17d9860db6 declare the handshake confirmed when receiving an ACK for a 1-RTT packet
... on the client side. Both the receipt of HANDSHAKE_DONE and the
receipt of an ACK for a 1-RTT packet are sufficient for declaring
confirmation of the handshake.
2021-04-14 22:33:45 +07:00