Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix rare panic when local index collision happens #1191

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

wadey
Copy link
Member

@wadey wadey commented Aug 6, 2024

A local index collision happens when two tunnels attempt to use the same random int32 index ID. This is a rare chance, and we have code to deal with it, but we have a panic because we return the wrong thing in this case. This change should fix the panic.

A local index collision happens when two tunnels attempt to use the same
random int32 index ID. This is a rare chance, and we have code to deal
with it, but we have a panic because we return the wrong thing in this
case. This change should fix the panic.
@wadey wadey added this to the v1.10.0 milestone Aug 6, 2024
@wadey wadey merged commit f5f6c26 into master Aug 7, 2024
8 checks passed
@wadey wadey deleted the fix-local-index-collision-panic branch August 7, 2024 15:53
@wadey wadey modified the milestones: v1.10.0, v1.9.4 Sep 3, 2024
wadey added a commit that referenced this pull request Sep 3, 2024
Non dependency changes:

- #1194
- #1191
- #1188
- #1185
- #1181
- #1173
- #1171
- #1164
- #1162
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants