qemu-e2k/io
Yu-Chen Lin c64e1e7538 io/channel-websock: treat 'binary' and no sub-protocol as the same
noVNC doesn't use 'binary' protocol by default after
commit c912230309806aacbae4295faf7ad6406da97617.

It will cause qemu return 400 when handshaking.

To overcome this problem and remain compatibility of
older noVNC client.

We treat 'binary' and no sub-protocol as the same
so that we can support different version of noVNC
client.

Tested on noVNC before c912230 and after c912230.

Buglink: https://bugs.launchpad.net/qemu/+bug/1849644

Signed-off-by: Yu-Chen Lin <npes87184@gmail.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2020-02-07 12:22:18 +00:00
..
channel-buffer.c
channel-command.c
channel-file.c
channel-socket.c socket: Add num connections to qio_channel_socket_async() 2019-09-03 23:24:42 +02:00
channel-tls.c
channel-util.c
channel-watch.c
channel-websock.c io/channel-websock: treat 'binary' and no sub-protocol as the same 2020-02-07 12:22:18 +00:00
channel.c
dns-resolver.c
Makefile.objs
net-listener.c socket: Add num connections to qio_net_listener_open_sync() 2019-09-03 23:24:42 +02:00
task.c main-loop: Fix GSource leak in qio_task_thread_worker() 2019-08-21 16:31:58 +02:00
trace-events socket: Add num connections to qio_channel_socket_async() 2019-09-03 23:24:42 +02:00