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