diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2013-08-14 10:10:37 -0400 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2013-08-14 13:35:10 -0400 |
commit | c8b808bb8211e756a5e2280da173010984b71680 (patch) | |
tree | 29178b900fb41cb097cb92ca40b52a2d48b0ca65 /server/reds.c | |
parent | d1e7142a0f90e2b977d2a73d26dc5b09d7771826 (diff) | |
download | spice-c8b808bb8211e756a5e2280da173010984b71680.tar.gz spice-c8b808bb8211e756a5e2280da173010984b71680.tar.xz spice-c8b808bb8211e756a5e2280da173010984b71680.zip |
red_channel: add option to monitor whether a channel client is alive
rhbz#994175
When a client connection is closed surprisingly (i.e., without a FIN
segment), we cannot identify it by a socket error (which is the only
way by which we identified disconnections so far).
This patch allows a channel client to periodically check the state of
the connection and identify surprise disconnections.
Diffstat (limited to 'server/reds.c')
0 files changed, 0 insertions, 0 deletions