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

Do not add trailing zero byte for abstract paths. #25

Merged
merged 4 commits into from
Nov 10, 2024

Conversation

vi
Copy link
Contributor

@vi vi commented Nov 9, 2024

Resolves #24.

@de-vri-es
Copy link
Owner

Thanks for reporting the issue and opening the PR!

I also added simple tests and ensured that trailing null-bytes are preserved when reporting the local address of a listening socket.

Will merge once CI passes.

@de-vri-es de-vri-es merged commit b260d4e into de-vri-es:main Nov 10, 2024
4 of 5 checks passed
@de-vri-es
Copy link
Owner

I did a major version bump as it changes the observable behavior of the listener and the socket.

So released as v0.8.0. Thanks again! 🚀

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.

When connecting to or binding abstract paths, it appends a zero byte at the end of address.
2 participants