Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There are some subtle race conditions with the previous handshake_ix implementation, mostly around collisions with localIndexId. This change refactors it so that we have a "commit" phase during the handshake where we grab the lock for the hostmap and ensure that we have a unique local index before storing it. We also now avoid using the pending hostmap at all for receiving stage1 packets, since we have everything we need to just store the completed handshake. Co-authored-by: Nate Brown <[email protected]> Co-authored-by: Ryan Huber <[email protected]> Co-authored-by: forfuncsake <[email protected]>
- Loading branch information