Commit Graph

50 Commits

Author SHA1 Message Date
Marten Seemann
741dc28d74 move the RTTStats to the utils package
The RTTStats are used by the logging package. In order to instrument the
congestion package, the RTTStats can't be part of that package any more
(to avoid an import loop).
2020-07-23 11:53:08 +07:00
Marten Seemann
0c551c893c trace packets that are sent outside of a connection 2020-07-16 08:20:36 +07:00
Marten Seemann
dc245ca6a3 trace dropped packets in the server 2020-07-15 20:33:58 +07:00
Marten Seemann
ee24d3899e simplify the Tracer interface by combining the TracerFor... methods 2020-07-11 13:22:52 +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
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
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
dc3c96debf qlog session timeouts 2020-04-17 08:23:25 +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
3fd2b1c99f fix locking of mutex when qlogging the setting of the loss timer 2020-04-10 14:44:12 +07:00
Marten Seemann
72068deaf6 make sure that qlog events are logged in order 2020-04-05 11:56:09 +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
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
ef901e3435 use the current timestamp of every event in qlog 2020-03-23 16:25:42 +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
76bdd4a397 continuously encode qlog events 2020-03-18 12:12:34 +07:00
Marten Seemann
c9cbc26c95 Merge pull request #2421 from lucas-clemente/qlog-transport-parameters
qlog transport parameters
2020-03-18 12:02:30 +07:00
Marten Seemann
eabab8b99b qlog dropped packets 2020-03-18 11:20:50 +07:00
Marten Seemann
99f03d1595 qlog sent and received transport parameters 2020-03-18 11:20:27 +07:00
Marten Seemann
c4889996e4 Merge pull request #2423 from lucas-clemente/qlog-dropped-encryption-levels
qlog dropped encryption levels
2020-03-18 09:33:41 +07:00
Marten Seemann
63921b6dcb qlog dropped encryption levels 2020-03-13 17:17:28 +07:00
Marten Seemann
7309a10482 remove string encoding for numbers in qlog 2020-03-13 15:43:01 +07:00
Marten Seemann
f976a0ba11 qlog when undecryptable packets are buffered 2020-03-11 11:14:22 +07:00
Marten Seemann
bf2f91cae1 qlog key updates 2020-03-10 17:44:28 +07:00
Marten Seemann
49a5856efb qlog changes of the PTO count 2020-03-10 16:51:28 +07:00
Marten Seemann
273a320f98 add support for the key_updated event for TLS key updates 2020-03-08 17:09:07 +07:00
Marten Seemann
14a5cc8ab4 add support for the connection_started event 2020-02-17 15:52:06 +07:00
Marten Seemann
a3fe9445cc set the packet_size on the packet_received and packet_sent event 2020-02-12 10:42:38 +07:00
Marten Seemann
5a7f743733 qlog lost packets 2020-02-12 10:42:38 +07:00
Marten Seemann
f13ca7e791 qlog loss recovery metrics 2020-02-12 10:42:38 +07:00
Marten Seemann
a58bcb747b qlog received Retry packets 2020-02-12 10:42:38 +07:00
Marten Seemann
b031615db5 export a qlog when the session's run loop stops 2020-02-12 10:42:37 +07:00
Marten Seemann
391a419142 add the packet_received event 2020-02-12 10:36:28 +07:00
Marten Seemann
4d92dd05f9 add the packet_sent event 2020-02-12 10:36:28 +07:00
Marten Seemann
4763719051 implement marshalling of the trace 2020-02-12 10:36:27 +07:00