mirror of
https://github.com/amitbet/vncproxy.git
synced 2025-08-01 22:20:32 +00:00
Fix noVnc 1.1.0 problem (bad message type 248)
This commit is contained in:
parent
f07be04814
commit
1c052273de
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user