remoting: Cap host→client clipboard size.
The WebRTC library supports sending messages up to 256KiB, but Chrome currently only seems to support receiving messages up to 64KiB. As a result, any messages larger than 64KiB and smaller than 256KiB cause the connection to terminate. For now, cap the size of clipboard messages to 64KiB to avoid the disconnection issue until Chrome properly supports larger messages or we switch to a stream-based channel with our own message framing. Change-Id: Iecfca67b82104cbda46e45599490a2538b91f1d5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1715099 Commit-Queue: Joe Downing <joedow@chromium.org> Commit-Queue: Erik Jensen <rkjnsn@chromium.org> Reviewed-by:Joe Downing <joedow@chromium.org> Cr-Commit-Position: refs/heads/master@{#680486}
Showing
Please register or sign in to comment