1
0
mirror of https://github.com/falk-werner/webfuse synced 2024-10-27 20:34:10 +00:00

fixed sending multiple pending messages

This commit is contained in:
Falk Werner 2023-01-01 12:32:21 +01:00
parent 246dddab2c
commit dcb590bd50

View File

@ -130,6 +130,10 @@ static int ws_server_callback(struct lws *wsi, enum lws_callback_reasons reason,
int const rc = lws_write(data->connection, raw_data, size, LWS_WRITE_BINARY);
}
if (has_more)
{
lws_callback_on_writable(data->connection);
}
}
break;
default: