From: "Eduardo Felipe" <edusaper@gmail.com>
To: qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [Patch] Support UltraVNC clients
Date: Sun, 30 Sep 2007 12:49:25 +0200 [thread overview]
Message-ID: <83a4d4ca0709300349g508e35ccs8cb9fa52158f35d7@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 125 bytes --]
Hi,
UltraVNC clients report non standard RFB protocol 3.4. Attached patch makes
vnc server treat them as 3.3.
Regards,
Edu
[-- Attachment #1.2: Type: text/html, Size: 144 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: ultravnc.patch --]
[-- Type: text/x-patch; name="ultravnc.patch", Size: 727 bytes --]
*** 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) {
reply other threads:[~2007-09-30 10:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83a4d4ca0709300349g508e35ccs8cb9fa52158f35d7@mail.gmail.com \
--to=edusaper@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).