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 races in server tube from #1067 and apply #1569 #1707

Merged
merged 1 commit into from
Oct 26, 2020

Conversation

Arusekk
Copy link
Member

@Arusekk Arusekk commented Oct 20, 2020

The events were used in a racy way, which was not necessary at all, since python already has an atomic queue interface.

Also, fam parsing is not necessary, since the magic conversion methods already do the trick.

Furthermore, #1552 also affected server tubes, which was not mentioned in its description.

@zachriggle
Copy link
Member

Any reason to change the default to ipv6?

@Arusekk
Copy link
Member Author

Arusekk commented Oct 24, 2020

Just as explained in #1569, v6 allows receiving v4 connections on a mapped range, but not the other way round. So the default is now to listen on both, whereas it's been v4 only so far.

@zachriggle
Copy link
Member

Sounds fair to me, it just stood out as an odd change given the PR. Makes sense now, thanks!

@Arusekk Arusekk merged commit 031b3cb into Gallopsled:dev Oct 26, 2020
@Arusekk Arusekk deleted the server-tube branch October 26, 2020 21:57
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