Fix noVnc 1.1.0 problem (bad message type 248)

This commit is contained in:
Bezalel 2019-12-19 07:56:00 +02:00
parent f07be04814
commit 1c052273de

View File

@ -4,11 +4,11 @@ import (
"bytes" "bytes"
"encoding/binary" "encoding/binary"
"fmt" "fmt"
"github.com/amitbet/vncproxy/common"
"github.com/amitbet/vncproxy/logger"
"io" "io"
"net" "net"
"unicode" "unicode"
"github.com/amitbet/vncproxy/common"
"github.com/amitbet/vncproxy/logger"
) )
// A ServerMessage implements a message sent from the server to the client. // A ServerMessage implements a message sent from the server to the client.
@ -474,6 +474,7 @@ func (c *ClientConn) mainLoop() {
new(MsgSetColorMapEntries), new(MsgSetColorMapEntries),
new(MsgBell), new(MsgBell),
new(MsgServerCutText), new(MsgServerCutText),
new(MsgServerFence),
} }
for _, msg := range defaultMessages { for _, msg := range defaultMessages {