jmuehlner opened a new pull request, #455: URL: https://github.com/apache/guacamole-server/pull/455
This change turned out to be pretty involved, but at their core, these changes are addressing the race condition described in [GUACAMOLE-1846](https://issues.apache.org/jira/browse/GUACAMOLE-1846). This change addresses this problem by batching up all newly connected users and synchronizing connection state to them using a newly defined `join_pending_handler`, at which time they'll be promoted to full users, and the broadcast socket will write to them. This synchronization is done using a new broadcast socket that writes to all synchronized users at once, instead of once at a time. Pending users are synchronized once every quarter second, which should result in little noticeable delay upon joining a connection. Thanks to @mike-jumper for helping to work through the logic here and help figure out various bugs along the way. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
