SConnection::SConnection()
: readyForSetColourMapEntries(false),
- is(0), os(0), reader_(0), writer_(0),
- ssecurity(0), state_(RFBSTATE_UNINITIALISED),
- preferredEncoding(encodingRaw),
+ is(0), os(0), reader_(0), writer_(0), ssecurity(0),
+ authFailureTimer(this, &SConnection::handleAuthFailureTimeout),
+ state_(RFBSTATE_UNINITIALISED), preferredEncoding(encodingRaw),
- clientClipboard(NULL), hasLocalClipboard(false)
+ clientClipboard(NULL), hasLocalClipboard(false),
+ unsolicitedClipboardAttempt(false)
{
defaultMajorVersion = 3;
defaultMinorVersion = 8;
if (pointerClient == *ci)
pointerClient = NULL;
if (clipboardClient == *ci)
- clipboardClient = NULL;
+ handleClipboardAnnounce(*ci, false);
clipboardRequestors.remove(*ci);
+ CharArray name(strDup((*ci)->getPeerEndpoint()));
+
// - Delete the per-Socket resources
delete *ci;