mirror of
https://github.com/amitbet/vncproxy.git
synced 2025-09-16 23:00:50 +00:00
Fix noVnc 1.1.0 problem (bad message type 248)
This commit is contained in:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user