dont close websocket after receiving close frame
Some checks reported errors
gitea-sync/antd-wvnc-plugin/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
DanyLE 2022-08-18 21:22:07 +02:00
parent 59e8257f12
commit c860d23b21

2
wvnc.c
View File

@ -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;