[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qemu-devel
Subject:    [Qemu-devel] [Patch] Support UltraVNC clients
From:       "Eduardo Felipe" <edusaper () gmail ! com>
Date:       2007-09-30 10:49:25
Message-ID: 83a4d4ca0709300349g508e35ccs8cb9fa52158f35d7 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

UltraVNC clients report non standard RFB protocol 3.4. Attached patch makes
vnc server treat them as 3.3.

Regards,
Edu

[Attachment #5 (text/html)]

Hi,<br><br>UltraVNC clients report non standard RFB protocol 3.4. Attached patch \
makes vnc server treat them as 3.3.<br><br>Regards,<br>Edu<br>


["ultravnc.patch" (text/x-patch)]

*** vnc.c	17 Sep 2007 08:09:45 -0000	1.24
--- vnc.c	26 Sep 2007 22:44:57 -0000
@@ -1818,6 +1818,7 @@
     VNC_DEBUG("Client request protocol version %d.%d\n", vs->major, vs->minor);
     if (vs->major != 3 ||
 	(vs->minor != 3 &&
+	 vs->minor != 4 &&
 	 vs->minor != 5 &&
 	 vs->minor != 7 &&
 	 vs->minor != 8)) {
@@ -1827,10 +1828,10 @@
 	vnc_client_error(vs);
 	return 0;
     }
-    /* Some broken client report v3.5 which spec requires to be treated
+    /* Some broken clients report v3.4 or v3.5, which spec requires to be treated
      * as equivalent to v3.3 by servers
      */
-    if (vs->minor == 5)
+    if (vs->minor == 4 || vs->minor == 5)
 	vs->minor = 3;
 
     if (vs->minor == 3) {



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic