Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix retransmit bug for large messages causing message corruption
Logic bug: We are looping over segments sent by the C++ library and sending them over a python transport. If the last message is larger than the transport pause threshold, this causes the transport to pause us. In that case, we forget to increment the current write_index, causing us to retransmit the same message in an infinite loop. This is a serious bug, because it causes messages to become corrupted.
- Loading branch information