-
-
Notifications
You must be signed in to change notification settings - Fork 223
handle clipboard large data transfers better #275
Copy link
Copy link
Closed
Labels
Description
At present, the limit for clipboard packets is 32KB (see #274), which means that:
- this can cause significant network congestion, delaying all other packets until the data is fully sent - causing problems elsewhere (ie: the damage heuristics to start batching screen updates heavily)
- this delay can cause the user to get confused, wondering why "it is not pasting" and requesting the data again... causing yet more trouble.
Solutions:
- if the clipboard data is large, send it in chunks so we can interleave it with some more regular data (screen updates from server, mouse movements from client, etc) - and maybe even, cancel it altogether if we find that the other end timedout
- as we start sending the clipboard data, notify the client so we can give a visual cue to the user that something is happening (temporarily replace the tray icon with a clipboard icon?).
Reactions are currently unavailable