Procházet zdrojové kódy

Fix to "Tolerate fragmented ServerInit".

Issue #39: https://github.com/kanaka/noVNC/issues/issue/39
Joel Martin před 15 roky
rodič
revize
fce6ac5cb4
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      include/rfb.js

+ 1 - 1
include/rfb.js

@@ -815,7 +815,7 @@ init_msg = function() {
         break;
 
     case 'SecurityResult' :
-        if (rQwait("VNC auth response ", 24)) { return false; }
+        if (rQwait("VNC auth response ", 4)) { return false; }
         switch (rQshift32()) {
             case 0:  // OK
                 // Fall through to ClientInitialisation