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
Marten Seemann
3666a7111d
remove the .editorconfig
2021-04-14 18:50:02 +07:00
Marten Seemann
878e0b261a
pass a context to logging.Tracer.NewConnectionTracer
...
This context has the same value attached to it as the context returned
by Session.Context().
In the case of a dialed connection, this context is derived from the
context used for dialing.
2021-04-14 16:59:36 +07:00
Marten Seemann
4917760726
attach a tracing ID to the session context
2021-04-14 16:39:41 +07:00
Marten Seemann
72014c447b
update Go version in go.mod to Go 1.15
2021-04-04 16:04:37 +07:00
Marten Seemann
3138a45fde
Merge pull request #3129 from lucas-clemente/limit-retry-rtt-measurement
...
don't use a lower RTT than 5ms after receiving a Retry packet
2021-04-02 19:30:06 +07:00
Marten Seemann
e3f36af2e2
Merge pull request #3109 from lucas-clemente/version-negotiation-logging
...
don't pass the QUIC version to the StartedConnection event
2021-04-02 19:29:55 +07:00
Marten Seemann
c4cd631de1
Merge pull request #3137 from lucas-clemente/fix-packet-number-test
...
update the packet numbers in decoding test to the ones from the draft
2021-04-02 18:32:50 +07:00
Marten Seemann
4b10e67bf1
Merge pull request #3132 from lucas-clemente/amplification-limit-fixes
...
various amplification limit fixes
2021-04-02 18:32:38 +07:00
Marten Seemann
431a1fa650
Merge pull request #3120 from lucas-clemente/fix-handshake-idle-timeout
...
fix calculation of the handshake idle timeout
2021-04-02 18:32:24 +07:00
Marten Seemann
63e810f0d8
fix calculation of the handshake idle timeout
2021-04-02 18:19:38 +07:00