This is mostly for tracking, I think I've fixed it but I'm just testing it currently. The issue is that action_queuemay execute actions unqueued if it is empty when the first action is queued and the first action takes longer to complete than the code to the next push.
e.g.:
auto conn = // websocket::connection<...>
conn->send(...);
conn->send(...); // This may cause an issue as both async_write's get executed at once
This is mostly for tracking, I think I've fixed it but I'm just testing it currently. The issue is that
action_queue
may execute actions unqueued if it is empty when the first action is queued and the first action takes longer to complete than the code to the next push.e.g.: