vnc-ws.c (3ef91576b96de7051dacc2132cddfb486b46e863) vnc-ws.c (b76806d4ec5c55d36bf5508f1405d132a4b862de)
1/*
2 * QEMU VNC display driver: Websockets support
3 *
4 * Copyright (C) 2010 Joel Martin
5 * Copyright (C) 2012 Tim Hardeck
6 *
7 * This is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

--- 48 unchanged lines hidden (view full) ---

57 if (vs->ioc_tag) {
58 g_source_remove(vs->ioc_tag);
59 vs->ioc_tag = 0;
60 }
61
62 tls = qio_channel_tls_new_server(
63 vs->ioc,
64 vs->vd->tlscreds,
1/*
2 * QEMU VNC display driver: Websockets support
3 *
4 * Copyright (C) 2010 Joel Martin
5 * Copyright (C) 2012 Tim Hardeck
6 *
7 * This is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

--- 48 unchanged lines hidden (view full) ---

57 if (vs->ioc_tag) {
58 g_source_remove(vs->ioc_tag);
59 vs->ioc_tag = 0;
60 }
61
62 tls = qio_channel_tls_new_server(
63 vs->ioc,
64 vs->vd->tlscreds,
65 vs->vd->tlsaclname,
65 vs->vd->tlsauthzid,
66 &err);
67 if (!tls) {
68 VNC_DEBUG("Failed to setup TLS %s\n", error_get_pretty(err));
69 error_free(err);
70 vnc_client_error(vs);
71 return TRUE;
72 }
73

--- 65 unchanged lines hidden ---
66 &err);
67 if (!tls) {
68 VNC_DEBUG("Failed to setup TLS %s\n", error_get_pretty(err));
69 error_free(err);
70 vnc_client_error(vs);
71 return TRUE;
72 }
73

--- 65 unchanged lines hidden ---