[Spice-devel] [PATCH spice-gtk] channel: swap tls status during seamless migration

Marc-André Lureau marcandre.lureau at gmail.com
Wed Feb 20 08:34:07 PST 2013


In some cases, source and destinations may have different channel
encryption. We need to swap tls state too during seamless migration.

https://bugzilla.redhat.com/show_bug.cgi?id=855870
---
 gtk/spice-channel.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gtk/spice-channel.c b/gtk/spice-channel.c
index 2c559b7..ce19634 100644
--- a/gtk/spice-channel.c
+++ b/gtk/spice-channel.c
@@ -2684,6 +2684,7 @@ void spice_channel_swap(SpiceChannel *channel, SpiceChannel *swap, gboolean swap
     SWAP(ctx);
     SWAP(ssl);
     SWAP(sslverify);
+    SWAP(tls);
     SWAP(use_mini_header);
     if (swap_msgs) {
         SWAP(xmit_queue);
-- 
1.8.1.1.439.g50a6b54



More information about the Spice-devel mailing list