websockets: fix webSocketCheckDisconnect()

Do not consume the peeked data if no close frame was detected.
pull/1/head
Gernot Tenchio 12 years ago
parent 0f2ac00f6e
commit b1671e6de9

@ -876,7 +876,7 @@ webSocketCheckDisconnect(rfbClientPtr cl)
doclose = 1;
break;
default:
;
return FALSE;
}
if (cl->sslctx)

Loading…
Cancel
Save