Marten Seemann
d1d4e5ce02
reset the PTO count when receiving a Retry
2020-04-17 15:15:11 +07:00
Marten Seemann
dc3c96debf
qlog session timeouts
2020-04-17 08:23:25 +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
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
416dc485f8
add a qlog method to log version negotiation packets
2020-04-16 09:50:34 +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
19f06ad3a9
remove PRR code
2020-04-13 16:31:02 +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
6bb11abcd7
use the optimized HKDF-Expand-Label everywhere
2020-04-09 08:33:59 +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
3ac2fb3161
make quic-go build with both Go 1.13 and 1.14
2020-04-09 07:51:18 +07:00
Marten Seemann
bb2a05af0a
Merge pull request #2474 from lucas-clemente/validate-preferred-address-conn-id-len
...
validate connection ID length in preferred_address transport parameter
2020-04-08 21:04:06 +07:00
Marten Seemann
a9bae761f5
Merge pull request #2469 from lucas-clemente/fix-received-packet-size-logging
...
fix logging of the size of received packets
2020-04-08 20:59:29 +07:00
Marten Seemann
96ac90e6be
validate connection ID length in preferred_address transport parameter
2020-04-08 17:13:35 +07:00
Marten Seemann
8fd2674ce4
fix conversion of qtls.ClientHelloInfo in GetCertificate
2020-04-08 16:19:45 +07:00
Marten Seemann
66d50b4289
fix conversion of qtls.ClientHelloInfo in GetConfigForClient
2020-04-08 15:56:30 +07:00
Marten Seemann
ddab69ca9e
fix logging of the size of received packets
2020-04-07 16:45:15 +07:00
Marten Seemann
a983c40cdd
don't log a metrics_update when sending a non-ack-eliciting packet
2020-04-04 13:45:25 +07:00
Marten Seemann
92c0f81bf4
improve error handling in sentPacketHandler
2020-04-04 13:00:39 +07:00
Marten Seemann
c810f95632
Merge pull request #2449 from lucas-clemente/qlog-loss-timer
...
implement the qlog loss timer events
2020-04-02 16:35:51 +07:00
Marten Seemann
5365ac2c47
Merge pull request #2457 from lucas-clemente/anti-deadlock-timer
...
correctly set anti-deadlock timer after the Initial space was dropped
2020-04-02 15:51:16 +07:00
Marten Seemann
d368117b13
qlog changes to the loss timer
2020-04-02 15:50:40 +07:00
Marten Seemann
3e2c27e4cd
qlog updated metrics when sending a packet
2020-04-02 15:05:46 +07:00
Marten Seemann
c4c372744a
correctly set anti-deadlock timer after the Initial space was dropped
2020-04-02 15:04:08 +07:00
Marten Seemann
c10af76a4a
Merge pull request #2455 from lucas-clemente/loss-before-ack
...
notify the congestion controller of losses first
2020-04-02 14:38:39 +07:00
Marten Seemann
5ce1eb6013
move OnPacketLost out of detectAndRemoveLosPackets
2020-04-01 18:44:52 +07:00
Marten Seemann
269f14d86c
notify the congestion controller of losses first
2020-04-01 17:33:29 +07:00
Marten Seemann
e2e3e10a63
rename methods in sentPacketHandler to match the draft
2020-04-01 13:39:55 +07:00
Marten Seemann
37f1a3fdda
simplify removing of acked packets from packet history
2020-04-01 13:37:17 +07:00
Marten Seemann
e942a590fd
rename peerNotAwaitingAddressValidation to peerCompletedAddressValidation
2020-03-31 08:30:16 +07:00
Marten Seemann
ef901e3435
use the current timestamp of every event in qlog
2020-03-23 16:25:42 +07:00
Marten Seemann
afc34127b0
Merge pull request #2429 from lucas-clemente/fix-qlog-writer-buffering
...
make the buffered qlog writer used in interop flush before closing
2020-03-23 16:21:19 +07:00
Marten Seemann
9dec939784
Merge pull request #2432 from lucas-clemente/max-udp-payload-size
...
rename the max_packet_size transport parameter to max_udp_payload_size
2020-03-23 16:21:03 +07:00
Marten Seemann
905407e477
Merge pull request #2427 from lucas-clemente/fix-pto-count-logging
...
only qlog the PTO count reset when the PTO count actually changed
2020-03-23 16:20:44 +07:00
Marten Seemann
d0b5da8aa1
rename the max_packet_size transport parameter to max_udp_payload_size
2020-03-21 11:12:43 +07:00
Marten Seemann
09e16b7602
add the APPLICATION_ERROR, use it in CONNECTION_CLOSE frames
2020-03-21 10:56:36 +07:00
Marten Seemann
6d61dccc2f
rename the constructors for the various qerr.Error flavors
2020-03-21 10:53:03 +07:00
Marten Seemann
3e8c3cafc1
make the buffered qlog writer used in interop flush before closing
2020-03-19 12:58:56 +07:00
Marten Seemann
43d3eb2298
only qlog the PTO count reset when the PTO count actually changed
2020-03-18 16:02:41 +07:00
Marten Seemann
05ec6d2ea8
Merge pull request #2416 from lucas-clemente/cancel-amplification-timer-after-handshake-completion
...
don't send anti-deadlock packet after handshake confirmation
2020-03-18 09:34:34 +07:00
Marten Seemann
0ef4f06189
move the transport parameters from the handshake to the wire package
2020-03-13 16:20:11 +07:00
Marten Seemann
cdf2449785
don't send anti-deadlock packet after handshake confirmation
2020-03-11 15:08:01 +07:00
Marten Seemann
bf2f91cae1
qlog key updates
2020-03-10 17:44:28 +07:00
Marten Seemann
8b61b4f1f3
Merge pull request #2409 from lucas-clemente/qlog-pto
...
qlog changes to the PTO count
2020-03-10 17:40:09 +07:00
Marten Seemann
e2e6f79c25
Merge pull request #2405 from lucas-clemente/remember-active-conn-id-limit
...
remember the value of the active_connection_id_limit transport parameter
2020-03-10 16:56:26 +07:00
Marten Seemann
2cee7dd88a
Merge pull request #2408 from lucas-clemente/update-golang-ci
...
update GolangCI-Lint to v1.23.8
2020-03-10 16:53:41 +07:00
Marten Seemann
49a5856efb
qlog changes of the PTO count
2020-03-10 16:51:28 +07:00
Marten Seemann
eb19ec6096
Merge pull request #2402 from lucas-clemente/reset-pto-count-when-dropping-pn-space
...
reset the PTO count when dropping a packet number space
2020-03-10 16:49:56 +07:00
Marten Seemann
54775ffaad
Merge pull request #2415 from lucas-clemente/vnp-fixed-bit
...
only set the 0x80 bit to 1 for version negotiation packets
2020-03-10 16:48:29 +07:00