Received: from eggs.gnu.org ([208.118.235.92]:50601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaEJq-00036a-3z for qemu-devel@nongnu.org; Sun, 18 Nov 2012 18:30:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaEJn-0003kI-20 for qemu-devel@nongnu.org; Sun, 18 Nov 2012 18:30:30 -0500 Received: from cantor2.suse.de ([195.135.220.15]:47171 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaEJm-0003k4-OV for qemu-devel@nongnu.org; Sun, 18 Nov 2012 18:30:26 -0500 Message-ID: <1353281384.3623.38.camel@Thinktank.site> From: Tim Hardeck Date: Mon, 19 Nov 2012 00:29:44 +0100 In-Reply-To: References: <1353078798-6472-1-git-send-email-thardeck@suse.de> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-LwEqHK9V0AwGLCRacRa+" Mime-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] vnc: added initial websockets support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: github@martintribe.org, qemu-devel --=-LwEqHK9V0AwGLCRacRa+ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Stefan, thanks for your input but how should it be implemented? I personally would like activating Websockets as a VNC option like: " -vnc :0 -vnc :1,websockets" I have already tested this locally and it does work but only for one protocol since QEMU does only interpret the last vnc option. So is allowing more than one VNC command line entry in combination with having more than one VNC thread for the same display worth working on or do you have something different in mind? Regards Tim On Sun, 2012-11-18 at 10:31 +0100, Stefan Hajnoczi wrote: > On Fri, Nov 16, 2012 at 4:13 PM, Tim Hardeck wrote: > > Websockets connections are recognized by waiting 500ms for a Websocket = handshake. If no data is received a regular vnc connection is assumed. > > If this is not acceptable please suggest if Websockets should be activa= ted by a new VNC option or by an additional console parameter on a differen= t port. >=20 > Perhaps it's better to speak Websockets on a different port. That way > no timer is required and we never fail to detect the correct protocol > to speak. >=20 > Stefan --=20 SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer, HRB 16746 (AG N=C3=BCrnberg) Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany T: +49 (0) 911 74053-0 F: +49 (0) 911 74053-483 http://www.suse.de/ --=-LwEqHK9V0AwGLCRacRa+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQEcBAABAgAGBQJQqW+MAAoJENur/L6EMd67Y9AH/0E2U+dzIMnFfYPl/5gr03bg tC3U0T+PP3ikPp2fSANZg0KiL1nbEvxBkXQ4bG7qx/RVv/tJKbOiW67bfdPGCCA+ Ry5od8w3oAHEnHbkS1ADjA8aYdpeNKkaMb5US8+MJV4SDExzoli3yjcSgTg5ZM3K vofbd8uODJ9iHQ96kbzv3rXaI3uVIOlNAM7M/UgqdIYjP8j1gv0NKWylayOcM3fA DxBQjigQfZUFoXBACEsZ/D+xquEb7YNqrXXgyVgVqgaIpKDg5NRFsH1CbXZQARSA 61mBv2RcXqqFkeLVhW+bR3eQyY7+l2Y9kHbTrZzNzQCkoBK+xeEGMQm301l4hBU= =w0mw -----END PGP SIGNATURE----- --=-LwEqHK9V0AwGLCRacRa+--