mirror of
https://github.com/amitbet/vncproxy.git
synced 2025-07-07 03:09:00 +00:00
added back the serverUpdater listener
This commit is contained in:
parent
baf477d8d5
commit
0d44ad3ca5
@ -100,11 +100,11 @@ func (vp *VncProxy) newServerConnHandler(cfg *server.ServerConfig, sconn *server
|
|||||||
|
|
||||||
// gets the bytes from the actual vnc server on the env (client part of the proxy)
|
// gets the bytes from the actual vnc server on the env (client part of the proxy)
|
||||||
// and writes them through the server socket to the vnc-client
|
// and writes them through the server socket to the vnc-client
|
||||||
// serverUpdater := &ServerUpdater{sconn}
|
serverUpdater := &ServerUpdater{sconn}
|
||||||
// cconn.Listeners.AddListener(serverUpdater)
|
cconn.Listeners.AddListener(serverUpdater)
|
||||||
|
|
||||||
serverMsgRepeater := &listeners.WriteTo{sconn, "vnc-client-bound"}
|
//serverMsgRepeater := &listeners.WriteTo{sconn, "vnc-client-bound"}
|
||||||
cconn.Listeners.AddListener(serverMsgRepeater)
|
//cconn.Listeners.AddListener(serverMsgRepeater)
|
||||||
|
|
||||||
// gets the messages from the server part (from vnc-client),
|
// gets the messages from the server part (from vnc-client),
|
||||||
// and write through the client to the actual vnc-server
|
// and write through the client to the actual vnc-server
|
||||||
|
Loading…
Reference in New Issue
Block a user