Commit Graph

13 Commits (c2c4b81e6cb3b485fb1ec7ba9e7defeb889f6ba7)

Author SHA1 Message Date
Christian Beier 495ffa3f3a
tightvnc-filetransfer: do not close stuff from within a thread
... as this crashes badly and the client is closed by the main thread machinery afterwards.

re #242
6 years ago
Christian Beier 2d939267a1
tightvnc-filetransfer: when creating a new download thread, make sure the previous one ends
re #242
6 years ago
Christian Beier f8912fee5a
tightvnc-filetransfer: refactor CloseUndoneFileTransfer() into two functions
...for closing upload and download separately.

re #242
6 years ago
Christian Beier 89419fb1a0
tightvnc-filetransfer: tie the download thread to the control structure
re #242
6 years ago
Christian Beier ca2a5ac02f
tightvnc-filetransfer: fix heap use-after-free
One can only guess what the intended semantics were here, but as every
other rfbCloseClient() call in this file is followed by an immediate
return, let's assume this was forgotton in this case.

Anyway, don't forget to clean up to not leak memory.

Closes #241
6 years ago
Christian Beier 7368417239 Various #ifdef fixes to allow building with MSVC2014 8 years ago
Stefan Weil 9c7efb7633 Fix some typos (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
9 years ago
Johannes Schindelin ad7a054e8c Close unclosed comments ;-)
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
11 years ago
Daniel Cohen Gindi a7f79b696e These are UNIX headers, and are not available on MSVC 11 years ago
runge f7d48515fd Add logging output to know when inside tightvnc-filetransfer functions. 18 years ago
runge 603b5667b6 fix some non-gcc compiler warnings and signals in x11vnc 19 years ago
runge 8eb18f6cd8 fix deadlock from rfbReleaseExtensionIterator(), fix no libz/libjpeg 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. 20 years ago
dscho 0a909fde7a This monster commit contains support for TightVNC's file transfer protocol.
Thank you very much, Rohit!
20 years ago