forked from shaba/openuds
Restore use of WebSocket.
This commit is contained in:
parent
97fd0b8272
commit
24dbd884ad
@ -964,14 +964,14 @@ GuacUI.Client.connect = function() {
|
|||||||
var tunnel;
|
var tunnel;
|
||||||
|
|
||||||
// If WebSocket available, try to use it.
|
// If WebSocket available, try to use it.
|
||||||
/*if (window.WebSocket)
|
if (window.WebSocket)
|
||||||
tunnel = new Guacamole.ChainedTunnel(
|
tunnel = new Guacamole.ChainedTunnel(
|
||||||
new Guacamole.WebSocketTunnel("websocket-tunnel"),
|
new Guacamole.WebSocketTunnel("websocket-tunnel"),
|
||||||
new Guacamole.HTTPTunnel("tunnel")
|
new Guacamole.HTTPTunnel("tunnel")
|
||||||
)
|
);
|
||||||
|
|
||||||
// If no WebSocket, then use HTTP.
|
// If no WebSocket, then use HTTP.
|
||||||
else*/
|
else
|
||||||
tunnel = new Guacamole.HTTPTunnel("tunnel");
|
tunnel = new Guacamole.HTTPTunnel("tunnel");
|
||||||
|
|
||||||
// Instantiate client
|
// Instantiate client
|
||||||
|
Loading…
x
Reference in New Issue
Block a user