From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zz7qu-0005P1-Tv for qemu-devel@nongnu.org; Wed, 18 Nov 2015 13:53:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zz7qr-0002GA-Ul for qemu-devel@nongnu.org; Wed, 18 Nov 2015 13:53:08 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37541) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zz7qr-0002Fm-Lx for qemu-devel@nongnu.org; Wed, 18 Nov 2015 13:53:05 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 3E3598EFFA for ; Wed, 18 Nov 2015 18:53:05 +0000 (UTC) From: "Daniel P. Berrange" Date: Wed, 18 Nov 2015 18:52:57 +0000 Message-Id: <1447872780-2229-1-git-send-email-berrange@redhat.com> Subject: [Qemu-devel] [PATCH v1 0/3] Convert VNC server to QIOChannel List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann This is an update of patches previously shown in an RFC posting RFC: https://lists.gnu.org/archive/html/qemu-devel/2015-09/msg00829.html This series depends on the previously posted series: "[PATCH v3 0/9] Introduce I/O channels framework" This short series converts the VNC server to use the new QIOChannel framework. This removes all the websocket protocol code from the VNC server and further simplifies the TLS handling in the VNC server The conversion has been tested against the virt-viewer/ remote-viewer programs in the various TLS modes, and also against the noVNC proxy websockets client with and without TLS support. Daniel P. Berrange (3): ui: convert VNC server to use QIOChannelSocket ui: convert VNC server to use QIOChannelTLS ui: convert VNC server to use QIOChannelWebsock ui/vnc-auth-sasl.c | 57 ++++- ui/vnc-auth-vencrypt.c | 93 +++----- ui/vnc-jobs.c | 20 +- ui/vnc-ws.c | 400 ++++++-------------------------- ui/vnc-ws.h | 71 +----- ui/vnc.c | 608 ++++++++++++++++++++++--------------------------- ui/vnc.h | 31 ++- 7 files changed, 448 insertions(+), 832 deletions(-) -- 2.5.0