simon-git: xcopy (master): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Sat Apr 11 12:24:27 BST 2020
TL;DR:
e9f54bf Fix hang in outgoing INCR transfers.
Repository: https://git.tartarus.org/simon/xcopy.git
On the web: https://git.tartarus.org/?p=simon/xcopy.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2020-04-11 12:24:27
commit e9f54bff146c96a8c12ae8a266289011e600c9ca
web diff https://git.tartarus.org/?p=simon/xcopy.git;a=commitdiff;h=e9f54bff146c96a8c12ae8a266289011e600c9ca;hp=1d33ce393b4d590aa598e596111677f72e30cee7
Author: Simon Tatham <anakin at pobox.com>
Date: Sat Apr 11 12:07:36 2020 +0100
Fix hang in outgoing INCR transfers.
I'm not quite sure how this never got tested before, but I was missing
a vital part of the protocol. When you do an incremental selection
transfer, you repeatedly write the same X property on the destination
window, and every time the receiving client deletes the property, you
write the next value. But you can only _find out_ when the client has
deleted it if you sign up for PropertyNotify events on the receiving
window, and we weren't doing that.
xcopy.c | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
More information about the tartarus-commits
mailing list