Commit Graph

18 Commits (d4fabc217e8cd02aca4d248229bb8a030b2bbfe2)

Author SHA1 Message Date
Tobias Doerffel d4fabc217e libvncserver sockets: check cl->screen before accessing it
In commit 079394ca5b new code with
insufficient checks was introduced causing a segfault when doing a
HTTP server connection. Such connections have no screen set in the
client data structure.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
15 years ago
Christian Beier 079394ca5b libvncserver sockets: favor per-screen maxclientwait over global one when set.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
15 years ago
Christian Beier c0373e9cd4 Non-blocking sockets for Windows.
Expands the SetNonBlocking() function in libvncclient/sockets.c to also
work under Windows and also changes it to honour maybe already present
socket flags.

A similar function was introduced for libvncserver as well and
all the #ifdef'ed fnctl calls replaced with calls to that one.

Signed-off-by: Christian Beier <dontmind@freeshell.org>
16 years ago
runge f40b011182 Add locks of updateMutex in rfbRedrawAfterHideCursor() and
rfbSetClientColourMap().  Up listen limit from 5 to 32.
16 years ago
steven_carr ccdbe8f325 The great UltraVNC Compatibility Commit 20 years ago
dscho 0d40904d9f rfbCheckFds now returns the number of processed events 20 years ago
dscho f52cfa651b add handleEventsEagerly flag (Thanks, Donald) 20 years ago
dscho 1b81e342cb assorted fixes for MinGW32 20 years ago
dscho 3a8d4bdbe6 work around write() returning ENOENT on Solaris 2.7 20 years ago
dscho 0a909fde7a This monster commit contains support for TightVNC's file transfer protocol.
Thank you very much, Rohit!
21 years ago
dscho 93be927b1c Introduce generic protocol extension method. Deprecate
the processCustomClientMessage() method.
21 years ago
dscho 8bee4eb990 ANSIfy, fix some warnings from Linus' sparse 21 years ago
dscho 34f714bcdc socketInitDone -> socketState 21 years ago
runge b8b96689bf add '-listen ipaddr' option 21 years ago
dscho 658b65ad0c support MinGW32! 21 years ago
dscho 97299606da global structures/functions should have "rfb", "sra" or "zrle" as prefix,
while structure members should not
22 years ago
dscho 1589d04d50 debug 22 years ago
dscho 876868553d move the library into libvncserver/, x11vnc into x11vnc/ 22 years ago