Sfoglia il codice sorgente

Fix subprotocols

Broken by b1dee9478815b22bf5fee3ee9e44321d4bb46c91
Julien Fontanet 11 anni fa
parent
commit
58ca1978ea
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      include/rfb.js

+ 1 - 1
include/rfb.js

@@ -316,7 +316,7 @@ var RFB;
             uri += '://' + this._rfb_host + ':' + this._rfb_port + '/' + this._rfb_path;
             Util.Info("connecting to " + uri);
 
-            this._sock.open(uri, this._sockProtocols);
+            this._sock.open(uri, this._wsProtocols);
 
             Util.Debug("<< RFB.connect");
         },