Marten Seemann
e7c4e756ad
trace and qlog version selection / negotiation
2021-04-19 11:38:10 +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
Marten Seemann
5bdbff929d
don't regard PMTU probe packets as outstanding
...
This also means that PMTU probe packets won't be sent as PTO probe packets.
2021-03-26 09:25:04 +07:00
Marten Seemann
afbb2b7b6a
improve string representation of timeout errors
2021-03-23 14:37:49 +08:00
Marten Seemann
04074fbea3
remove special treatment of timeout error when logging
2021-03-22 14:29:07 +08:00
Marten Seemann
154b55b50a
introduce a qerr.Err{Idle,Handshake}Timeout
2021-03-22 14:22:36 +08:00
Marten Seemann
e9b4f9ba07
avoid type confusion between protocol.PacketType and logging.PacketType
...
The enums have completely different meanings. protocol.PacketType only
defines long header types, whereas logging.PacketType defines all
different types of QUIC packets (including short header packets).
2021-03-21 12:56:52 +08:00
Marten Seemann
7feda789d2
initialize the congestion controller with the actual max datagram size
2021-03-20 14:02:28 +08:00
Marten Seemann
f71997597c
use a tracer to determine the idle timeout period in the integration test
2021-03-20 12:17:59 +08:00
Marten Seemann
45a432f100
save sent and received packets in the tracer used in integration tests
2021-03-20 11:57:55 +08:00
Marten Seemann
7c8f729771
remove unused testutils.CryptoFrameType
2021-03-20 09:58:08 +08:00
Marten Seemann
04fe1ea7bf
remove unneeded testutils.ComposeConnCloseFrame helper function
2021-03-20 09:57:04 +08:00
Marten Seemann
d71cef2eb0
remove unused testutils.ComposeCryptoFrame helper function
2021-03-20 09:56:02 +08:00
Marten Seemann
7d6be20fdc
remove unneeded testutils.ComposeAckFrame helper function
2021-03-20 09:55:26 +08:00
Marten Seemann
f44803a39b
expose the draft-34 version
2021-03-19 20:53:53 +08:00
Marten Seemann
81d16a9903
Merge pull request #3098 from lucas-clemente/zero-rtt-conn-id-len-test
...
add a 0-RTT test with different connecton ID lengths
2021-03-19 18:52:07 +08:00
Marten Seemann
f25ec1b62c
add a 0-RTT test case using non-zero length connection IDs
2021-03-19 18:23:15 +08:00
Marten Seemann
749bbe4187
Merge pull request #3099 from lucas-clemente/fix-focus-detection-in-pre-commit
...
only run Ginkgo focus detection in staged files in pre-commit hook
2021-03-19 18:13:50 +08:00
Marten Seemann
28ba9c4f16
Merge pull request #3095 from lucas-clemente/fix-integration-test-debug-flag
...
fix evalution of DEBUG flag in integration test workflow
2021-03-19 18:13:35 +08:00
Marten Seemann
33a47fe661
remove superfluous function parameter in the 0-RTT integration tests
2021-03-19 18:09:36 +08:00
Marten Seemann
3b20133e84
Merge pull request #3096 from lucas-clemente/allow-zero-rtt-on-initial-window-increase
...
allow 0-RTT when flow control windows are increased
2021-03-19 17:52:52 +08:00