Commit Graph

4475 Commits

Author SHA1 Message Date
Marten Seemann
d1d4e5ce02 reset the PTO count when receiving a Retry 2020-04-17 15:15:11 +07:00
Marten Seemann
dd27bce3fb Merge pull request #2501 from lucas-clemente/qlog-timeouts
qlog session timeouts
2020-04-17 14:56:55 +07:00
Marten Seemann
9c165ccddf Merge pull request #2500 from lucas-clemente/no-retransmission-after-cancelation
don't dequeue retransmitted STREAM frames after the stream was canceled
2020-04-17 14:56:44 +07:00
Marten Seemann
7b1c4e7d80 don't dequeue retransmitted STREAM frames after the stream was canceled 2020-04-17 10:06:42 +07:00
Marten Seemann
88337ed8c0 fix packing of probe packets when retransmissions are canceled 2020-04-17 10:06:42 +07:00
Marten Seemann
dc3c96debf qlog session timeouts 2020-04-17 08:23:25 +07:00
Marten Seemann
16e3ddb196 Merge pull request #2498 from lucas-clemente/fix-qlog-time-on-ci
use the TIMESCALE_FACTOR in the qlog tests
2020-04-16 16:18:40 +07:00
Marten Seemann
02c6f0c2d9 use the TIMESCALE_FACTOR in the qlog tests 2020-04-16 16:01:17 +07:00
Marten Seemann
f8720bbd55 Merge pull request #2497 from lucas-clemente/logging-numbers
use decimal numbers for logging packet numbers, stream offsets and byte counts
2020-04-16 15:52:07 +07:00
Marten Seemann
b31f3356d3 Merge pull request #2493 from lucas-clemente/qlog-version-negotiation
qlog version negotiation packets
2020-04-16 15:51:49 +07:00
Marten Seemann
9bac78cb46 Merge pull request #2496 from lucas-clemente/fix-packet-header-qlogging
fix qlogging of packet headers
2020-04-16 15:51:21 +07:00
Marten Seemann
98881158a9 Merge pull request #2481 from lucas-clemente/drop-unexpected-version
drop packets with version numbers that don't match the session's version
2020-04-16 10:06:48 +07:00
Marten Seemann
30618a31fe fix qlogging of packet headers 2020-04-16 09:52:19 +07:00
Marten Seemann
e116e2f4cc use decimal number for logging stream offsets and byte counts 2020-04-16 09:50:55 +07:00
Marten Seemann
140b90449b use decimal numbers when logging packet numbers 2020-04-16 09:50:55 +07:00
Marten Seemann
74c9bd6031 qlog the supported versions of a version negotiation packet 2020-04-16 09:50:34 +07:00
Marten Seemann
70ede9d73a qlog received version negotiation packets 2020-04-16 09:50:34 +07:00
Marten Seemann
416dc485f8 add a qlog method to log version negotiation packets 2020-04-16 09:50:34 +07:00
Marten Seemann
5b7b9c84d4 qlog dropped version negotiation packets 2020-04-16 09:50:34 +07:00
Marten Seemann
80418be227 use a mock qlogger in the client tests 2020-04-16 09:50:34 +07:00
Marten Seemann
6ba147119d set the qlogger as a member variable on the client 2020-04-16 09:50:34 +07:00
Marten Seemann
5a720f0af0 drop packets with version numbers that don't match the session's version 2020-04-16 09:41:33 +07:00
Marten Seemann
5bd6252616 Merge pull request #2480 from lucas-clemente/qlog-dropped-retry
qlog dropped Retry packets
2020-04-16 09:31:47 +07:00
Marten Seemann
b705b623a7 Merge pull request #2483 from lucas-clemente/qlog-packet-drop-unknown-version
qlog when packets are dropped due to unsupported QUIC version
2020-04-16 09:31:01 +07:00
Marten Seemann
3f71f1085f Merge pull request #2494 from lucas-clemente/remove-duplicate-timeout-check
remove duplicate check for handshake and idle timeout in session
2020-04-16 09:28:44 +07:00
Marten Seemann
41687870f8 Merge pull request #2495 from lucas-clemente/interop-logging
improve logging in interop client and server
2020-04-16 09:28:09 +07:00
Marten Seemann
dfb91ab21a Merge pull request #2485 from lucas-clemente/fix-loss-timer-mutex
fix locking of mutex when qlogging the setting of the loss timer
2020-04-16 09:27:20 +07:00
Marten Seemann
7f1b4cef10 Merge pull request #2490 from lucas-clemente/remove-prr
remove PRR code
2020-04-16 09:26:51 +07:00
Marten Seemann
75447972c2 Merge pull request #2486 from lucas-clemente/fix-qlog-test-time-decoding
fix decoding of timestamps and durations in qlog tests
2020-04-16 09:25:31 +07:00
Marten Seemann
fe313fb83f log requests in the interop client 2020-04-14 18:50:13 +07:00
Marten Seemann
7b126285ab log creation of qlog files in interop client and server 2020-04-14 18:42:24 +07:00
Marten Seemann
80e39f5ed3 log requests in the interop server 2020-04-14 18:41:57 +07:00
Marten Seemann
4d442101b3 remove duplicate check for handshake and idle timeout in session 2020-04-14 18:21:41 +07:00
Marten Seemann
19f06ad3a9 remove PRR code 2020-04-13 16:31:02 +07:00
Marten Seemann
24508a3d39 qlog dropped Retry packets 2020-04-12 19:26:30 +07:00
Marten Seemann
aca987eac9 fix decoding of timestamps and durations in qlog tests 2020-04-10 16:27:18 +07:00
Marten Seemann
3fd2b1c99f fix locking of mutex when qlogging the setting of the loss timer 2020-04-10 14:44:12 +07:00
Marten Seemann
f58eb47383 qlog when packets are dropped due to unsupported QUIC version 2020-04-10 14:39:02 +07:00
Marten Seemann
899e1694d7 add a test for dropped packets due to header parsing errors 2020-04-10 14:35:37 +07:00
Marten Seemann
4ae1a13503 Merge pull request #2479 from lucas-clemente/interop-print-commit
print the commit that the interop docker image was build with
2020-04-09 18:00:03 +07:00
Marten Seemann
04171ae404 Merge pull request #2478 from lucas-clemente/use-optimized-hkdf-expand-label
use the optimized HKDF-Expand-Label everywhere
2020-04-09 17:46:18 +07:00
Marten Seemann
16d84df4ec print the commit that the interop docker image was build with 2020-04-09 12:11:30 +07:00
Marten Seemann
6bb11abcd7 use the optimized HKDF-Expand-Label everywhere 2020-04-09 08:33:59 +07:00
Marten Seemann
10137b0c9b Merge pull request #2467 from lucas-clemente/optimize-initial-aead-creation
optimize initialization of the Initial AEAD
2020-04-09 08:32:30 +07:00
Marten Seemann
816019b94e add an optimized implementation of HKDF-Expand-Label
The standard library uses cryptobyte.Builder in hkdfExpandLabel. This
costs quite a bit of performance. Using an optimized implementation
speeds up the initialization of the AEAD used for the Initial encryption
level by ~15%.
2020-04-09 08:16:23 +07:00
Marten Seemann
0e608bfb08 Merge pull request #2476 from lucas-clemente/go-1.13
make sure that quic-go builds with Go 1.13 and Go 1.14
2020-04-09 08:12:03 +07:00
Marten Seemann
3ac2fb3161 make quic-go build with both Go 1.13 and 1.14 2020-04-09 07:51:18 +07:00
Marten Seemann
8e76881bc4 Merge pull request #2477 from lucas-clemente/fix-corrupted-scid
update the source connection ID if the session was created from an invalid Initial
2020-04-09 00:45:15 +07:00
Marten Seemann
732305e3da Merge pull request #2470 from lucas-clemente/dropped-packet-logging
improve qlogging of dropped packets
2020-04-09 00:44:51 +07:00
Marten Seemann
0f2508c795 Merge pull request #2465 from lucas-clemente/qlog-ordering
make sure that qlog events are logged in order
2020-04-09 00:44:13 +07:00