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:
parent
246dddab2c
commit
dcb590bd50
@ -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);
|
int const rc = lws_write(data->connection, raw_data, size, LWS_WRITE_BINARY);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (has_more)
|
||||||
|
{
|
||||||
|
lws_callback_on_writable(data->connection);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user