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
Marten Seemann
7f55fc7107
Merge pull request #3138 from lucas-clemente/pmtud-after-handshake-confirmation
...
only start PMTUD after handshake confirmation
2021-04-02 18:02:40 +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
8d44a3c04c
Merge pull request #3100 from lucas-clemente/expose-draft-version-34
...
expose the draft-34 version
2021-04-02 17:40:31 +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
22daaf4536
don't call ClosedConnection when closing for version negotiation
2021-04-02 17:35:20 +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
Marten Seemann
c30a45ef6f
don't pass the QUIC version to the StartedConnection event
...
The version might change in response to a Version Negotiation packet.
2021-04-02 17:33:49 +07:00
Marten Seemann
ea14ce5724
Merge pull request #3134 from lucas-clemente/trace-acked-packets
...
make it possible to trace acknowledged packets
2021-04-02 17:33:19 +07:00
Marten Seemann
0c42736286
Merge pull request #3108 from lucas-clemente/avoid-packet-type-confusion
...
avoid type confusion between protocol.PacketType and logging.PacketType
2021-04-02 17:28:21 +07:00
Marten Seemann
8c388e0aaf
Merge pull request #3112 from lucas-clemente/fix-timeout-error-logging
...
fix duplicate logging of errors when the first error was a timeout error
2021-04-02 17:24:45 +07:00
Marten Seemann
6f00937e42
Merge pull request #3136 from lucas-clemente/improve-packetization-test
...
use a tracer to make the packetization test more useful
2021-04-02 17:22:29 +07:00
Marten Seemann
bd2dfd5107
Merge pull request #3118 from lucas-clemente/improve-timeout-error-string
...
improve string representation of timeout errors
2021-04-02 17:22:17 +07:00
Marten Seemann
b6634fe124
reset the loss detection timer when the client's address is validated
2021-04-02 17:21:31 +07:00
Marten Seemann
a695bae019
restart the loss detection timer when the server becomes unblocked
2021-04-02 17:20:53 +07:00
Marten Seemann
3fab321ea7
cancel the loss detection timer when amplification limited
2021-04-02 17:20:53 +07:00
Marten Seemann
6c0142cb4c
notify the sent packet handler about all received bytes
2021-04-02 17:20:53 +07:00
Marten Seemann
91629cd979
only start PMTUD after handshake confirmation
...
Our PMTUD packets are never coalesced packets. Since we try packing
coalesced packets until the handshake is confirmed, it makes sense to start
PMTUD then.
2021-04-02 17:07:00 +07:00
Marten Seemann
b57a1095c5
update the packet numbers in decoding test to the ones from the draft
2021-04-02 17:06:04 +07:00
Marten Seemann
905a66cc84
use a tracer to make the packetization test more useful
2021-04-02 17:04:01 +07:00
Marten Seemann
3376a9fa9f
Merge pull request #3105 from lucas-clemente/fix-flaky-timeout-test
...
fix flaky timeout test
2021-04-02 16:54:37 +07:00
Marten Seemann
c4073fba8a
simplify detection of acknowledgements for skipped packets
2021-04-02 11:37:08 +07:00
Marten Seemann
875692ea10
add a function to trace acknowledged packets
2021-04-02 11:37:07 +07:00
Ari Mattila
e098ccd2b3
fix calculation of the time for the next keep alive
2021-03-26 16:28:13 +07:00
Marten Seemann
d48c08037a
don't use a lower RTT than 5ms after receiving a Retry packet
2021-03-26 15:55:30 +07:00