Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | LibVNCServer: fix starting of an onHold-client in threaded mode. | Christian Beier | 2016-12-28 | 1 | -9/+6 |
| | | | | | | | | Discovered by madscientist159 on 11 Jan 2015: "noted in testing with the threaded server build, whereby if newClientHook() returned RFB_CLIENT_ON_HOLD there was no way to release the hold when the server became ready" | ||||
* | Fix some typos (found by codespell) | Stefan Weil | 2016-11-18 | 1 | -1/+1 |
| | | | | Signed-off-by: Stefan Weil <sw@weilnetz.de> | ||||
* | Fix handling of multiple VNC commands per websockets frame | Floris Bos | 2015-01-17 | 1 | -0/+8 |
| | | | | | | | | | | | | | - When processing input, check if there is any extra data pending in the internal websocket frame and SSL buffers. - Prevents input events lagging behind because they get stuck in one of the buffers. Data pending in our own buffers cannot be detected with select() so was not processed until more input arrives from the network. - Closes # 55 Signed-off-by: Floris Bos <bos@je-eigen-domein.nl> | ||||
* | Signal is a fundamental UNIX function, and must be omitted for any windows ↵ | Daniel Cohen Gindi | 2014-09-20 | 1 | -1/+1 |
| | | | | compilation | ||||
* | Fix crash in krfb | Amandeep Singh | 2014-08-03 | 1 | -4/+7 |
| | | | | | Krfb crashes on quit, if any client is connected due to a rfbClientConnectionGone call missing | ||||
* | IPv6 support for LibVNCServer, part two: Let the http server listen on IPv6, ↵ | Christian Beier | 2012-02-27 | 1 | -0/+2 |
| | | | | | | too. As done with the RFB sockets, this uses a separate-socket approach as well. | ||||
* | IPv6 support for LibVNCServer, part onepointsix: fix a small logic error. | Christian Beier | 2012-02-27 | 1 | -1/+1 |
| | | | | | Without this, we would have gotten a stale IPv4 socket in a race condition. | ||||
* | IPv6 support for LibVNCServer, part one: accept IPv4 and IPv6 connections. | Christian Beier | 2012-02-20 | 1 | -10/+28 |
| | | | | | | | | | This uses a separate-socket approach since there are systems that do not support dual binding sockets under *any* circumstances, for instance OpenBSD. Using separate sockets for IPv4 and IPv6 is thus more portable than having a v6 socket handle v4 connections as well. Signed-off-by: Christian Beier <dontmind@freeshell.org> | ||||
* | Remove some unused variables. | Christian Beier | 2011-06-01 | 1 | -1/+0 |
| | |||||
* | Split two event-loop related functions out of the rfbProcessEvents() mechanism. | George Kiagiadakis | 2011-06-01 | 1 | -25/+37 |
| | | | | | | | 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> | ||||
* | libvncserver: Make RRE, CoRRE and Ultra encodings thread-safe. | Christian Beier | 2011-02-07 | 1 | -3/+0 |
| | | | | | | | This adds generic before/after encoding buffers to the rfbClient struct, so there is no need for thread local storage. Signed-off-by: Christian Beier <dontmind@freeshell.org> | ||||
* | libvncserver: fix endless loop when server closed client in threaded mode. | Christian Beier | 2010-11-18 | 1 | -5/+5 |
| | | | | Signed-off-by: Christian Beier <dontmind@freeshell.org> | ||||
* | libvnc[server|client]: implement xvp VNC extension. | Christian Beier | 2010-11-02 | 1 | -0/+1 |
| | | | | | | | This implements the xvp VNC extension, which is described in the community version of the RFB protocol: http://tigervnc.sourceforge.net/cgi-bin/rfbproto It is also mentioned in the official RFB protocol. | ||||
* | Added missing initialization of extension mutex | Tobias Doerffel | 2010-10-29 | 1 | -0/+5 |
| | | | | | | | | | | When not calling rfbRegisterProtocolExtension() the extension mutex is uninitialized but used upon calling rfbGetExtensionIterator() and rfbReleaseExtensionIterator() in rfbNewTCPOrUDPClient(). This causes libvncserver to crash on Win32 when building with thread support. Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com> Signed-off-by: Christian Beier <dontmind@freeshell.org> | ||||
* | Cleanup: remove CORBA stuff. | Christian Beier | 2010-09-13 | 1 | -3/+0 |
| | | | | | | | The header file and most of the functions referred to do not exist in libvncserver. Signed-off-by: Christian Beier <dontmind@freeshell.org> | ||||
* | Implement a DisplayFinishedHook for libvncserver. | Christian Beier | 2010-05-19 | 1 | -0/+1 |
| | | | | | | | If set, this hook gets called just before rfbSendFrameBufferUpdate() returns. Signed-off-by: Christian Beier <dontmind@freeshell.org> | ||||
* | Some broken build environments treat fprintf(fh, buf) as a fatal error... | runge | 2009-10-07 | 1 | -1/+1 |
| | |||||
* | Thread safety for zrle, zlib, tight. | runge | 2009-05-21 | 1 | -16/+30 |
| | | | | Proposed tight security type fix for debian bug 517422. | ||||
* | Fix a locking problem in libvncserver | dscho | 2007-03-17 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | There seems to be a locking problem in libvncserver, with respect to how condition variables are used. On certain machines in our lab, when using a vncviewer to view a display that has a very high rate of updates, we will occasionally see the VNC server process crash. In one stack trace that was obtained, an assertion had tripped in glibc's pthread_cond_wait, which was called from clientOutput. Inspection of clientOutput suggests that WAIT is being called incorrectly. The mutex that protects a condition variable should always be locked when calling wait, and on return from the wait will still be locked. The attached patch fixes the locking around this condition variable, and one other that I found by grepping the source for similar occurrences. Signed-off-by: Charles Coffing <ccoffing@novell.com> | ||||
* | Plugged some memory leakage | steven_carr | 2006-05-28 | 1 | -0/+5 |
| | |||||
* | Default to RFB 3.8, add command line option to specify the RFB version. | steven_carr | 2006-05-15 | 1 | -3/+4 |
| | |||||
* | The great UltraVNC Compatibility Commit | steven_carr | 2006-05-15 | 1 | -5/+27 |
| | |||||
* | Client Independent Server Side Scaling is now supported | steven_carr | 2006-05-03 | 1 | -3/+18 |
| | | | | Both PalmVNC and UltraVNC SetScale messages are supported | ||||
* | add KeyboardLedState extension | dscho | 2006-03-28 | 1 | -0/+1 |
| | |||||
* | do not timeout on idle client input (with pthreads) | dscho | 2006-03-01 | 1 | -0/+16 |
| | |||||
* | add handleEventsEagerly flag (Thanks, Donald) | dscho | 2006-02-28 | 1 | -0/+2 |
| | |||||
* | Added method to get extension specific client data | rohit_99129 | 2006-02-24 | 1 | -1/+1 |
| | |||||
* | Added method to get extension specific client data | rohit_99129 | 2006-02-24 | 1 | -0/+16 |
| | |||||
* | add functions to unregister extensions/security types | dscho | 2006-02-22 | 1 | -5/+68 |
| | |||||
* | fix some non-gcc compiler warnings and signals in x11vnc | runge | 2006-02-20 | 1 | -0/+1 |
| | |||||
* | logMutex needs to be initialized too; in rfbDefaultLog. | runge | 2006-01-11 | 1 | -2/+12 |
| | |||||
* | rfbProcessEvents() has to iterate also over clients with sock < 0 to close them | dscho | 2006-01-10 | 1 | -1/+3 |
| | |||||
* | fix client non-jpeg/libz builds | runge | 2006-01-08 | 1 | -1/+1 |
| | |||||
* | rfbRegisterProtocolExtension extMutex was never initialized. | runge | 2006-01-06 | 1 | -0/+6 |
| | |||||
* | introduce -deferptrupdate (thanks Dave) | dscho | 2005-12-19 | 1 | -0/+21 |
| | |||||
* | assorted fixes for MinGW32 | dscho | 2005-12-19 | 1 | -1/+1 |
| | |||||
* | fix deadlock from rfbReleaseExtensionIterator(), fix no libz/libjpeg ↵ | runge | 2005-11-25 | 1 | -0/+2 |
| | | | | builds, disable tightvnc-filetransfer if no libpthread, add --without-pthread option, rm // comments, set NAME_MAX if not defined, x11vnc: throttle load if fb update requests not taking place. | ||||
* | kill BackChannel and CustomClientMessage: the new extension technique makes ↵ | dscho | 2005-10-06 | 1 | -6/+0 |
| | | | | these hooks obsolete | ||||
* | This monster commit contains support for TightVNC's file transfer protocol. | dscho | 2005-09-28 | 1 | -0/+40 |
| | | | | Thank you very much, Rohit! | ||||
* | Introduce generic protocol extension method. Deprecate | dscho | 2005-09-27 | 1 | -0/+38 |
| | | | | the processCustomClientMessage() method. | ||||
* | Security is global. This was a misguided attempt to evade a global list. | dscho | 2005-09-27 | 1 | -1/+0 |
| | | | | I eventually saw the light and went with Rohit´s original approach. | ||||
* | support VNC protocol version 3.7 | dscho | 2005-09-26 | 1 | -0/+1 |
| | |||||
* | main.c: fix screen->deferUpdateTime default. | runge | 2005-06-27 | 1 | -3/+3 |
| | |||||
* | main.c: no sraRgnSubstract for copyRect, scrolls for x11vnc -scale; add ↵ | runge | 2005-06-04 | 1 | -7/+3 |
| | | | | -fixscreen | ||||
* | main.c: fix copyRect for non-cursor-shape-aware clients. | runge | 2005-05-31 | 1 | -0/+43 |
| | |||||
* | fix off by one bug | dscho | 2005-05-18 | 1 | -2/+2 |
| | |||||
* | hide strict ansi stuff if not explicitely turned on; actually use the ↵ | dscho | 2005-05-18 | 1 | -0/+2 |
| | | | | socklen_t test from configure.ac | ||||
* | ANSIfy, fix some warnings from Linus' sparse | dscho | 2005-05-15 | 1 | -31/+23 |
| | |||||
* | libvncserver/{main.c,rfbserver.c}: fix a couple more CopyRect memory leaks | runge | 2005-05-15 | 1 | -0/+1 |
| | |||||
* | fix memory leaks detected using valgrind | dscho | 2005-05-14 | 1 | -1/+2 |
| |