From c860d23b21ae989d640a1fe737dc356c69d328b1 Mon Sep 17 00:00:00 2001 From: DanyLE Date: Thu, 18 Aug 2022 21:22:07 +0200 Subject: [PATCH] dont close websocket after receiving close frame --- wvnc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wvnc.c b/wvnc.c index 2bfbd16..368bd01 100644 --- a/wvnc.c +++ b/wvnc.c @@ -197,7 +197,7 @@ void *process(void *data, int wait) if (h->opcode == WS_CLOSE) { LOG("Websocket: connection closed"); - ws_close(user_data->wscl->client, 1011); + //ws_close(user_data->wscl->client, 1011); user_data->status = DISCONNECTED; free(h); return 0;