Commit graph

27 commits

Author SHA1 Message Date
Gaukas Wang
4973374ea5
sync: quic-go 0.42.0
Signed-off-by: Gaukas Wang <i@gaukas.wang>
2024-04-23 22:34:55 -06:00
Gaukas Wang
95575f5fe7
break: update repo url [ci skip]
uTLS is not yet bumped to the new version, so this commit breaks the dependencies relationship by getting rid of the local replace.
2023-08-03 18:58:52 -06:00
Marten Seemann
58cedf7a4f
rename module, adjust import paths to quic-go/quic-go (#3680) 2023-01-21 19:53:57 -08:00
Marten Seemann
ed15a94703 split the tracing function for received short and long header packets 2022-08-29 15:32:27 +03:00
Marten Seemann
1aced95d41 use an array instead of a byte slice for Connection IDs 2022-08-29 11:30:31 +03:00
Marten Seemann
53412e9ba3 trace arbitrary length Connection IDs for Version Negotiation packets 2022-08-29 10:58:33 +03:00
Marten Seemann
bd48ae50ed fix qlogging of the packet payload length 2021-01-19 11:09:34 +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
b83e156e9f log tokens in NEW_TOKEN frames, Retry packets and Initial packets 2020-12-06 11:26:37 +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
d5a30225ce use a uint8 to represent the key phase bit 2020-10-06 15:27:56 +07:00
Marten Seemann
93e3873141 qlog the key phase bit 2020-10-06 15:05:26 +07:00
Marten Seemann
704bd78445 move the PacketHeader struct from logging to qlog package 2020-09-09 13:17:59 +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
78ba619a0b split the qlog package into a logging and a qlog package 2020-07-01 16:49:24 +07:00
Marten Seemann
30618a31fe fix qlogging of packet headers 2020-04-16 09:52:19 +07:00
Marten Seemann
d6edcc38c0 don't qlog a packet number for Retry packets 2020-04-04 15:05:34 +07:00
Marten Seemann
1a539334b8 fix determining of packet type from packet header in qlog 2020-03-21 12:49:46 +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
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
a58bcb747b qlog received Retry packets 2020-02-12 10:42:38 +07:00
Marten Seemann
bfd745106c determine the packet type from the QUIC header 2020-02-12 10:35:55 +07:00
Marten Seemann
572ef44cf2 use GoJay to marshal JSON
GoJay doesn't use reflection to marshal JSON. This allows dramatically
faster encoding, as well as saving a large number of allocations.
2020-02-12 10:35:54 +07:00
Marten Seemann
2e59206a1e implement marshalling of packet headers 2020-02-12 10:35:19 +07:00