summaryrefslogtreecommitdiffstats
path: root/libvncserver/websockets.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvncserver/websockets.c')
-rw-r--r--libvncserver/websockets.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libvncserver/websockets.c b/libvncserver/websockets.c
index 921015d..d10d992 100644
--- a/libvncserver/websockets.c
+++ b/libvncserver/websockets.c
@@ -440,6 +440,17 @@ webSocketsDecode(rfbClientPtr cl, char *dst, int len)
return webSocketsDecodeHybi(wsctx, dst, len);
}
+/**
+ * This is a stub function that was once used for Hixie-encoding.
+ * We keep it for API compatibility.
+ */
+rfbBool
+webSocketCheckDisconnect(rfbClientPtr cl)
+{
+ return FALSE;
+}
+
+
/* returns TRUE if there is data waiting to be read in our internal buffer
* or if is there any pending data in the buffer of the SSL implementation
*/