From 1c052273de0ca741a8822de536676ad63ce4bc88 Mon Sep 17 00:00:00 2001 From: Bezalel Date: Thu, 19 Dec 2019 07:56:00 +0200 Subject: [PATCH] Fix noVnc 1.1.0 problem (bad message type 248) --- client/client-conn.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/client-conn.go b/client/client-conn.go index 23700e0..9fa2008 100644 --- a/client/client-conn.go +++ b/client/client-conn.go @@ -4,11 +4,11 @@ import ( "bytes" "encoding/binary" "fmt" + "github.com/amitbet/vncproxy/common" + "github.com/amitbet/vncproxy/logger" "io" "net" "unicode" - "github.com/amitbet/vncproxy/common" - "github.com/amitbet/vncproxy/logger" ) // A ServerMessage implements a message sent from the server to the client. @@ -474,6 +474,7 @@ func (c *ClientConn) mainLoop() { new(MsgSetColorMapEntries), new(MsgBell), new(MsgServerCutText), + new(MsgServerFence), } for _, msg := range defaultMessages {