Marten Seemann
bd48ae50ed
fix qlogging of the packet payload length
2021-01-19 11:09:34 +08:00
Marten Seemann
60805d887f
implement qlogging of the parameters_restored event
2021-01-15 17:14:41 +08:00
Marten Seemann
d04662a964
add a RestoredTransportParameters method to the logging interface
2021-01-15 17:13:46 +08:00
Marten Seemann
c430c27910
Merge pull request #2997 from lucas-clemente/qlog-max-datagram-frame-size
...
qlog the max_datagram_frame_size transport parameter
2021-01-15 17:03:26 +08:00
Marten Seemann
ec2b9f47ca
qlog the max_datagram_frame_size transport parameter
2021-01-11 16:19:05 +08:00
Marten Seemann
f28db16df4
fix packet_type logging for packet_lost, packet_dropped and packet_buffered
2021-01-07 11:18:18 +08:00
Marten Seemann
84af90f2f8
qlog the packet size in the newly introduced RawInfo
2021-01-07 11:02:00 +08:00
Marten Seemann
2bf6c6aea4
add support for the connection_closed qlog event
2020-12-06 12:01:54 +07:00
Marten Seemann
b623a10b54
Merge pull request #2758 from lucas-clemente/qlog-packet-type
...
qlog the packet_type as part of the packet header, not the event itself
2020-12-06 11:20:03 +07:00
Marten Seemann
dd93d9640c
use the new, streaming-friendly NDJSON-based qlog encoding
2020-12-06 11:04:13 +07:00
Marten Seemann
4f557317a0
qlog the packet_type as part of the packet header, not the event itself
2020-12-06 10:51:21 +07:00
Marten Seemann
ff1f433c36
add a generic Log() function to the connection tracer
2020-12-06 09:33:38 +07:00
Marten Seemann
4372f46345
implement qlogging of the preferred address in the transport parameters
2020-11-02 12:39:48 +07:00
Marten Seemann
8752576f26
run gofumpt, enable the gofumpt linter
2020-10-26 09:33:35 +07:00
Marten Seemann
dbaacd49bd
add a logging event for dropping 1-RTT keys
2020-09-09 23:53:47 +07:00
Marten Seemann
5cf72e2f34
implement qlogging of the congestion_state_updated event
2020-07-23 11:54:00 +07:00
Marten Seemann
0b7efe10d1
trace congestion state changes
2020-07-23 11:53:59 +07:00
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