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"
"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 {