simon-git: putty (master): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Fri Sep 28 19:23:30 BST 2018
TL;DR:
32a0de93 Defer error callback from localproxy_try_send.
3085e748 GTK uxsel handling: lump G_IO_HUP into G_IO_IN.
7cd425ab uxproxy: close input pipes that have seen EOF on read.
5a6608bd Unix GUI: honour 'no close on exit' for connection_fatal.
Repository: https://git.tartarus.org/simon/putty.git
On the web: https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2018-09-28 19:23:30
commit 32a0de93bcdb041aa96e7f61cc832a61b0a01f7e
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=32a0de93bcdb041aa96e7f61cc832a61b0a01f7e;hp=e857e43361def326df7203e0be5c4feaf7824a05
Author: Simon Tatham <anakin at pobox.com>
Date: Fri Sep 28 19:06:07 2018 +0100
Defer error callback from localproxy_try_send.
If you call plug_closing directly from localproxy_try_send, which can
in turn be called directly from sk_write, then the plug's
implementation of plug_closing may well free things that the caller of
sk_write expected not to have vanished.
The corresponding routine in uxnet.c pushes that call to plug_closing
into a toplevel callback, so let's do that here too.
unix/uxproxy.c | 27 ++++++++++++++++++++++++++-
1 file changed, 26 insertions(+), 1 deletion(-)
commit 3085e748070a82987620a3eb5945b307cb56ee32
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=3085e748070a82987620a3eb5945b307cb56ee32;hp=32a0de93bcdb041aa96e7f61cc832a61b0a01f7e
Author: Simon Tatham <anakin at pobox.com>
Date: Fri Sep 28 19:20:50 2018 +0100
GTK uxsel handling: lump G_IO_HUP into G_IO_IN.
Without this, we don't receive EOF notifications on pipes, because gtk
uses poll rather than select, which separates those out into distinct
event types.
unix/gtkcomm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 7cd425abab020968bb6a8e6d3521b6cf915a24cc
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=7cd425abab020968bb6a8e6d3521b6cf915a24cc;hp=3085e748070a82987620a3eb5945b307cb56ee32
Author: Simon Tatham <anakin at pobox.com>
Date: Fri Sep 28 19:21:37 2018 +0100
uxproxy: close input pipes that have seen EOF on read.
Otherwise we loop round repeatedly with the event loop continuing to
report the same EOF condition on them over and over again, consuming
CPU pointlessly and probably causing other knock-on trouble too.
unix/uxproxy.c | 45 ++++++++++++++++++++++++++++++++-------------
1 file changed, 32 insertions(+), 13 deletions(-)
commit 5a6608bda8b13dcb67da122b05b65b2eb1d50725
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=5a6608bda8b13dcb67da122b05b65b2eb1d50725;hp=7cd425abab020968bb6a8e6d3521b6cf915a24cc
Author: Simon Tatham <anakin at pobox.com>
Date: Fri Sep 28 18:28:24 2018 +0100
Unix GUI: honour 'no close on exit' for connection_fatal.
It was being treated like an application-fatal message box even if
you'd configured the window not to close on an unclean exit.
unix/gtkwin.c | 22 +++++++++++++++++++---
1 file changed, 19 insertions(+), 3 deletions(-)
More information about the tartarus-commits
mailing list