- 11 Sep, 2011 3 commits
-
-
Christian Beier authored
-
Christian Beier authored
gnutls_certificate_set_x509_trust_file() returns the number of processed certs and _not_ GNUTLS_E_SUCCESS (0) on success!
-
Christian Beier authored
-
- 08 Sep, 2011 1 commit
-
-
Gernot Tenchio authored
-
- 30 Aug, 2011 3 commits
-
-
Gernot Tenchio authored
Conflicts: libvncserver/websockets.c
-
Gernot Tenchio authored
-
Gernot Tenchio authored
Do not consume the peeked data if no close frame was detected.
-
- 29 Aug, 2011 2 commits
-
-
Gernot Tenchio authored
-
Gernot Tenchio authored
-
- 25 Aug, 2011 9 commits
-
-
Gernot Tenchio authored
-
Gernot Tenchio authored
-
Joel Martin authored
Add common/sha1.h and common/sha1.c so that we have the SHA routines even if openssl is not available. From the IETF SHA RFC example code. Remove the UTF-8 encoding hack. This was really just an experiment. If the protocol passed in the handshake has "binary" then don't base64 encode for the HyBi protocol. This will allow noVNC to request the binary data be passed raw and not base64 encoded. Unfortunately, the client doesn't speak first in VNC protocol (bad original design). If it did then we could determine whether to base64 encode or not based on the first HyBi frame from the client and whether the binary bit is set or not. Oh well. Misc Cleanup: - Always free response and buf in handshake routine. - Remove some unused variables.
-
Gernot Tenchio authored
-
Gernot Tenchio authored
-
Gernot Tenchio authored
-
Gernot Tenchio authored
-
Gernot Tenchio authored
Move the hixie disconnect hack to websockets.c. Removed the remaining websockets vars from rfbClientPtr, so all websockets stuff is hidden behind an opaque pointer.
-
Gernot Tenchio authored
-
- 17 Aug, 2011 11 commits
-
-
Gernot Tenchio authored
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-
Gernot Tenchio authored
Added wspath member to rfbClientRec which holds the path component of the initial websocket request. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-
Gernot Tenchio authored
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-
Gernot Tenchio authored
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-
Joel Martin authored
- Add --sslcertfile and --sslkeyfile. These should really be combined with the existing x11vnc command line options for SSL support. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-
Gernot Tenchio authored
For now, only OpenSSL support is activated through configure, since GnuTLS is only used in LibVNCClient. [jes: separated this out from the commit adding encryption support, added autoconf support.] Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-
Gernot Tenchio authored
[jes: moved out GnuTLS and OpenSSL support, added a dummy support, to separate changes better, and to keep things compiling] Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-
Joel Martin authored
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-
Joel Martin authored
This is not completely standard UTF-8 encoding. Only code points 0-255 are encoded and never encoded to more than two octets. Since '\x00' is a WebSockets framing character, it's easier for all parties to encode zero as '\xc4\x80', i.e. 194+128, i.e. UTF-8 256. This means that a random stream will be slightly more than 50% larger using this encoding scheme. But it's easy CPU-wise for client and server to decode/encode. This is especially important for clients written in languages that have weak bitops, like Javascript (i.e. the noVNC client). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-
Joel Martin authored
If the only thing we are waiting on is a WebSockets terminator, then remove it from the stream early on in rfbProcessClientNormalMessage. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-
Joel Martin authored
Has a bug: WebSocket client disconnects are not detected. rfbSendFramebufferUpdate is doing a MSG_PEEK recv to determine if enough data is available which prevents a disconnect from being detected. Otherwise it's working pretty well. [jes: moved added struct members to the end for binary compatibility with previous LibVNCServer versions, removed an unused variable] Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-
- 22 Jul, 2011 2 commits
-
-
Joel Martin authored
Signed-off-by: Christian Beier <dontmind@freeshell.org>
-
Joel Martin authored
http://wiki.qemu.org/VNC_Tight_PNGSigned-off-by: Joel Martin <github@martintribe.org> Signed-off-by: Christian Beier <dontmind@freeshell.org>
-
- 01 Jun, 2011 3 commits
-
-
Christian Beier authored
-
George Kiagiadakis authored
BUG: 256891 Signed-off-by: Christian Beier <dontmind@freeshell.org>
-
George Kiagiadakis authored
This is required to be able to do proper event loop integration with Qt. Idea was taken from vino's libvncserver fork. Signed-off-by: Christian Beier <dontmind@freeshell.org>
-
- 09 May, 2011 1 commit
-
-
Cristian Rodríguez authored
Signed-off-by: Cristian Rodríguez <crrodriguez@opensuse.org> Signed-off-by: Christian Beier <dontmind@freeshell.org>
-
- 30 Apr, 2011 1 commit
-
-
Christian Beier authored
This reverts commit c1363fa9. The proper fix was already in 804335f9.
-
- 28 Apr, 2011 4 commits
-
-
Johannes Schindelin authored
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-
Johannes Schindelin authored
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-
George Kiagiadakis authored
This bug occured when a second telepathy tubes client was connected after the first one had disconnected and the channel (thus, the screen too) had been destroyed. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-
George Kiagiadakis authored
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-