aboutsummaryrefslogtreecommitdiff
path: root/replication.c
diff options
context:
space:
mode:
authorYu-Chen Lin <npes87184@gmail.com>2019-11-23 11:43:06 +0800
committerDaniel P. Berrangé <berrange@redhat.com>2020-02-07 12:22:18 +0000
commitc64e1e75381d0cb53f9fc8f93245a933b12c68a6 (patch)
tree11cf9c9e2a8ce72a874639fcaf2b825912b6aa19 /replication.c
parent5b7686f3fa2092d2b3be92df67b5966ee1b0142a (diff)
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>
Diffstat (limited to 'replication.c')
0 files changed, 0 insertions, 0 deletions