Commit Graph

84 Commits

Author SHA1 Message Date
Marten Seemann
a1bb39d6ab introduce a protocol.StatelessResetToken 2020-07-10 19:55:20 +07:00
Marten Seemann
a4679bc02e also pass the stateless reset token by value to the tracer 2020-07-10 19:48:53 +07:00
Marten Seemann
f93708aca8 introduce a logging.CloseReason to log the reason a session was closed
This also allows us to get rid of the ReceivedStatelessReset() method.
2020-07-10 19:23:32 +07:00
Marten Seemann
7d6ce4ea45 rename the logging.CloseReason to TimeoutReason 2020-07-10 19:17:21 +07:00
Marten Seemann
993d71fd56 move the SupportedVersions slice out of the wire.Header 2020-07-09 12:05:33 +07:00
Marten Seemann
6dcc88536d fix crash when the qlog callbacks returns a nil io.WriteCloser 2020-07-06 15:03:48 +07:00
Marten Seemann
ed120f670c add logging aliases for frames, create a logging.STREAM and CRYPTO frame 2020-07-06 09:21:32 +07:00
Marten Seemann
d4dc08b208 move all stringifation of qlog events to the qlog package 2020-07-06 08:26:37 +07:00
Marten Seemann
838dd6e81a rename StreamFrame.FinBit to Fin 2020-07-02 16:41:43 +07:00
Marten Seemann
865332015c rename ResetStreamFrame.ByteOffset to FinalSize 2020-07-02 16:41:43 +07:00
Marten Seemann
cc340b2887 rename StreamDataBlockedFrame.DataLimit to MaximumStreamData 2020-07-02 16:41:43 +07:00
Marten Seemann
fa07078d81 rename DataBlockedFrame.DataLimit to MaximumData 2020-07-02 16:41:43 +07:00
Marten Seemann
5466de6565 rename MaxStreamDataFrame.ByteOffset to MaximumStreamData 2020-07-02 16:41:43 +07:00
Marten Seemann
f4519cfd32 rename MaxDataFrame.ByteOffset to MaximumData 2020-07-02 16:41:43 +07:00
Marten Seemann
ac606222e0 replace the GetLogWriter quic.Config option by a Tracer interface 2020-07-01 16:57:03 +07:00
Marten Seemann
4121ea84f4 rename the logging.Tracer to ConnectionTracer 2020-07-01 16:57:01 +07:00
Marten Seemann
7f6eca84da replace the logging.Export() method by a Close() method 2020-07-01 16:54:44 +07:00
Marten Seemann
78ba619a0b split the qlog package into a logging and a qlog package 2020-07-01 16:49:24 +07:00
Marten Seemann
2e9b92ab69 rename the SERVER_BUSY error to CONNECTION_REFUSED 2020-06-10 12:13:40 +07:00
Marten Seemann
f1924b3182 qlog the retry_source_connection_id TP 2020-05-29 19:50:14 +07:00
Marten Seemann
a9dc1e49ab qlog the initial_source_connection_id TP 2020-05-29 19:50:14 +07:00
Marten Seemann
193f18bbe5 always qlog the original_destination_connection_id for the server's TPs 2020-05-29 19:50:14 +07:00
Marten Seemann
7e62a2fecc rename original_connection_id to original_destination_connection_id TP 2020-05-29 19:50:14 +07:00
Marten Seemann
8d00ec135e Merge pull request #2569 from lucas-clemente/drop-duplicate-packets
drop duplicate packets
2020-05-29 16:39:46 +07:00
Marten Seemann
6cea2f8a65 fix flaky qlog unit tests 2020-05-27 10:03:36 +07:00
Marten Seemann
440ff107a3 drop duplicate packets
Duplicate detection uses the same data structure that is used to track
received packets to generate ACK frames. That means that after an old
ACK range has been pruned, a severly delayed packet might be incorrectly
detected as a duplicate.
As we wouldn't have acknowledged receipt of this packet, this situation
would have resulted in a retransmission by the peer anyway, so dropping
the packet won't cause a big regression.
2020-05-27 09:20:51 +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
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
30618a31fe fix qlogging of packet headers 2020-04-16 09:52:19 +07:00
Marten Seemann
74c9bd6031 qlog the supported versions of a version negotiation packet 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
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
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
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
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
Marten Seemann
927c5b2a41 Merge pull request #2461 from lucas-clemente/qlog-fix-retry-logging
don't qlog a packet number for Retry packets
2020-04-06 18:42:20 +07:00
Marten Seemann
27359777d9 fix precision of reference_time field in qlog 2020-04-05 16:46:59 +07:00
Marten Seemann
72068deaf6 make sure that qlog events are logged in order 2020-04-05 11:56:09 +07:00
Marten Seemann
d6edcc38c0 don't qlog a packet number for Retry packets 2020-04-04 15:05:34 +07:00
Marten Seemann
d368117b13 qlog changes to the loss timer 2020-04-02 15:50:40 +07:00
Marten Seemann
9182a901d5 only export changed metrics in the metrics_updated event 2020-04-02 15:05:05 +07:00
Marten Seemann
c02106945f Merge pull request #2444 from lucas-clemente/qlog-relative-time
use the relative_time when logging qlog events
2020-04-02 14:37:36 +07:00
Marten Seemann
cc737b4b11 improve qlogging of transport errors 2020-03-28 14:39:40 +07:00
Marten Seemann
86b02554b5 use the relative_time when logging qlog events 2020-03-27 20:22:47 +07:00
Marten Seemann
a82d6bb910 qlog stateless resets 2020-03-26 20:36:26 +07:00
Marten Seemann
cf45659c49 update the qlog field names in the NEW_CONNECTION_ID frame 2020-03-26 20:02:29 +07:00