GokulRG opened a new pull request, #1194: URL: https://github.com/apache/guacamole-client/pull/1194
Fixes a critical race condition where multiple blob chunks could be
read and sent
simultaneously without proper ACK synchronization.
Changes:
- Add in-flight tracking to prevent concurrent chunk operations
- Register ACK handler BEFORE sendData() to eliminate race window
- Add duplicate ACK prevention with ackHandled flag
- Use setTimeout for non-recursive chunk scheduling
- Reset state on FileReader errors
--
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]
