Files
rustdesk/libs
rustdeskandClaude Opus 5.5 31fd4e3744 fix(clipboard): unix, keep retired lists in the order they were sent
A peer that sends no list id is served the list last sent to its
connection, found by searching the retired queue from the back. That only
holds while the queue stays in retirement order, which is the order lists
were sent. The previous commit moved a list to the back on every read, so
another connection reading an older list could make a peer's next chunk
come from that list: a transfer of B continued with A's bytes.

Keep the queue in retirement order and track recency in a separate
last_used stamp, set on retirement and on each read. A full queue evicts the
list with the lowest stamp, so a list still being read is kept.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 23:22:13 +08:00
..
2026-09-23 17:30:22 +08:00
2026-09-23 17:30:22 +08:00
2026-09-23 18:40:49 +08:00