The socket is closed at this point so we have to rely on a cached
value for the logging.
updates.add_copied(dest, delta);
}
+ const char* getPeerEndpoint() const {return peerEndpoint.buf;}
+
private:
// SConnection callbacks
if (rfb::Server::maxDisconnectionTime && clients.empty())
disconnectTimer.start(secsToMillis(rfb::Server::maxDisconnectionTime));
+ CharArray name(strDup((*ci)->getPeerEndpoint()));
+
// - Delete the per-Socket resources
delete *ci;
clients.remove(*ci);
- CharArray name;
- name.buf = sock->getPeerEndpoint();
connectionsLog.status("closed: %s", name.buf);
// - Check that the desktop object is still required