Commit graph

11 commits

Author SHA1 Message Date
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
d9665c632e use a sync.Pool to reduce allocation of linked list elements
Especially the sentPacketHistory linked list shows up in allocation
profiles, since a new list element is allocated for every single packet
we send.
Using a pool for the receiving path, as well as for the frame sorter, is
less critical, since we're tracking ranges there instead of individual
packets / frames, but it doesn't hurt either.
The other occurrences where we use a linked list (connection ID tracking
and the token store) are used so rarely (a few times over the lifetime
of the connection) that using a pool doesn't make any sense there.
2022-12-30 19:24:56 +13:00
Marten Seemann
7ebe1430ef
use a generic linked list (#3487) 2022-08-10 09:50:21 -07:00
Marten Seemann
39fe927ef5 rewrite the frame sorter 2020-05-25 13:10:26 +07:00
Marten Seemann
6b22f36d82 add the stylecheck linter 2019-09-17 13:50:19 +07:00
Marten Seemann
ba1bcf6e0c use the STREAM frame buffer for receiving data 2019-09-04 16:58:44 +07:00
Marten Seemann
326ec9e16e replace short fragments by longer fragments in the frame sorter 2019-09-04 13:07:55 +07:00
Marten Seemann
1864e301ef move tracking of the final stream offset to the stream 2019-01-23 12:48:37 +07:00
Marten Seemann
387c28d707 when the encryption level changes, reject data on that crypto stream
There are two checks that need to be performed:
1. the crypto stream must not have any more data queued for reading
2. when receiving CRYPTO frames for that crypto stream afterwards, they
must not exceed the highest offset received on that stream
2018-10-26 17:09:52 +07:00
Marten Seemann
74662e8dae rename the streamFrameSorter to frameSorter 2018-08-26 10:10:00 +07:00
Renamed from stream_frame_sorter.go (Browse further)