diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2013-08-14 10:56:44 -0400 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2013-08-14 13:36:30 -0400 |
commit | ed1f70c6d16ff55adf73a08f063f5d7955f4c488 (patch) | |
tree | a6a87a1ef39ccbfedd99998095558c7618c6cf62 /server/reds.c | |
parent | c8b808bb8211e756a5e2280da173010984b71680 (diff) |
main_channel: monitoring client connection status
rhbz#994175
Start monitoring if the client connection is alive after completing
the bit-rate test.
Diffstat (limited to 'server/reds.c')
-rw-r--r-- | server/reds.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/reds.c b/server/reds.c index ae87c908..0f81a32f 100644 --- a/server/reds.c +++ b/server/reds.c @@ -1718,11 +1718,10 @@ static void reds_handle_main_link(RedLinkInfo *link) main_channel_push_name(mcc, spice_name); if (spice_uuid_is_set) main_channel_push_uuid(mcc, spice_uuid); - - main_channel_client_start_net_test(mcc); } else { reds_mig_target_client_add(client); } + main_channel_client_start_net_test(mcc, !mig_target); } #define RED_MOUSE_STATE_TO_LOCAL(state) \ |