Commit b1671e6d authored by Gernot Tenchio's avatar Gernot Tenchio

websockets: fix webSocketCheckDisconnect()

Do not consume the peeked data if no close frame was detected.
parent 0f2ac00f
......@@ -876,7 +876,7 @@ webSocketCheckDisconnect(rfbClientPtr cl)
doclose = 1;
break;
default:
;
return FALSE;
}
if (cl->sslctx)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment