Marten Seemann
68e468a3bc
drop support for Go 1.15
2021-08-05 14:18:56 +02:00
Marten Seemann
fbc30cd942
fix race when stream.Read and CancelRead are called concurrently
2021-07-29 13:41:40 +02:00
Marten Seemann
8906148682
Merge pull request #3230 from lucas-clemente/optimize-has-outstanding-crypto-packets
...
optimize hasOutstandingCryptoPackets in sentPacketHandler
2021-07-25 19:40:18 +02:00
Marten Seemann
61748d4d63
cancel the PTO timer when all Handshake packets are acknowledged
2021-07-13 14:05:00 -04:00
Marten Seemann
6279d6b556
optimize hasOutstandingCryptoPackets in sentPacketHandler
2021-07-13 11:56:21 -04:00
Marten Seemann
f51cc93770
drop support for QUIC draft version 32 and 34
2021-07-06 09:50:10 -07:00
Marten Seemann
876bc493cd
Merge pull request #3213 from lucas-clemente/remove-retire-bug-compat-mode
...
remove the RetireBugBackwardsCompatibilityMode
2021-07-06 09:47:18 -07:00
Marten Seemann
2001ce97a5
Merge pull request #3212 from lucas-clemente/remove-outdated-ackhandler-test
...
remove outdated ackhandler test case
2021-07-06 09:40:25 -07:00
Marten Seemann
ae4937a3ed
Merge pull request #3214 from lucas-clemente/remove-strip-greased-versions
...
remove unused StripGreasedVersions function
2021-07-06 09:39:53 -07:00
Marten Seemann
dbb517858e
fix incorrect usage of errors.Is
...
errors.Is is supposed to used for equality of errors, not for type
assertions. That's what errors.As is there for.
2021-06-28 15:29:52 -07:00
Marten Seemann
9520f242e9
remove unused StripGreasedVersions function
...
Such a function would defeat the purpose of greasing. Fortunately, we didn't
actually use it anywhere.
2021-06-27 15:00:28 -07:00
Marten Seemann
1758299a56
remove outdated ackhandler test case
2021-06-26 15:53:40 -07:00
Marten Seemann
b2857b5442
remove the RetireBugBackwardsCompatibilityMode
2021-06-26 15:49:02 -07:00
Marten Seemann
5ff1abb049
update golangci-lint to v1.41.1
2021-06-19 11:56:47 -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
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
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
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
d64e40895b
simplify the qtls tests
2021-05-17 09:05:08 -07:00
Marten Seemann
808c9c4361
add support for Go 1.17 (tip)
2021-05-16 18:56:27 -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
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
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
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
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
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
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
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
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
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
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
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
37a3938543
Merge pull request #3126 from lucas-clemente/dont-pto-pmtu-packets
...
don't regard PMTU probe packets as outstanding
2021-04-02 17:41:30 +07:00
Marten Seemann
f8b847f577
Merge pull request #3104 from lucas-clemente/clean-up-testutils
...
clean up the testutils
2021-04-02 17:35:58 +07:00
Marten Seemann
f60306c4bf
Merge pull request #3107 from lucas-clemente/fix-cubic-initialization
...
initialize the congestion controller with the actual max datagram size
2021-04-02 17:35:13 +07:00