-
-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
file transfer improvements #1026
Comments
Edit: comment about a file too big error moved to #494#comment:6 We should probably also handle the file-too-big issue with an alert box? |
Also from #494#comment:8 : |
#1124 is a nicer, more generic solution to this problem. |
2016-06-13 07:13:48: antoine uploaded file
|
2016-06-13 14:15:01: antoine uploaded file
|
Done: preparatory refactoring in r12810 + r12812, actual chunking code in r12813. The files are now sent in chunks. We wait for the file chunk ack packet before sending the next chunk, which helps to ensure that we don't use up all the bandwidth, though it does reduce the throughput (only 4MB/s on a powerfull system loopback). New tunables which should be self-explanatory:
Here's what the transfer looks like with -d file for an ~80MB file upload to the server:
@afarr: ready for testing, you should now be able to send or print big files without causing much of a slow down for anything else. Logging was also improved, small bugs fixed along the way. (I may backport some) |
2016-06-13 22:25:14: maxmylyn commented
|
r12815 closes the dialog more quickly and loads the file in the background as much as possible. |
2016-09-29 01:58:37: afarr commented
|
2016-09-29 04:59:33: antoine uploaded file
|
Good point. Alert dialog added in r13903 We also check the file size sooner and avoid trying to load really big files into memory before showing the error. |
2016-09-30 23:15:55: maxmylyn commented
|
even the html5 client now supports chunked file transfers: Xpra-org/xpra-html5#120
Split from #494, remaining tasks:
The text was updated successfully, but these errors were encountered: