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(server): use local address in AddrStream #2816

Merged
merged 1 commit into from Apr 20, 2022

Conversation

ilyatrefilov
Copy link
Contributor

Expose local address of tcp connection in AddrStream for the purpose mentioned in #2773. It is safe to call underlying getsockname, because socket is already connected to the peer at the point of socket.local_addr()? execution.

Expose local address of tcp connection in AddrStream for the purpose
mentioned in hyperium#2773.
@seanmonstar seanmonstar merged commit ffbf610 into hyperium:master Apr 20, 2022
@seanmonstar
Copy link
Member

Thanks :)

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.

None yet

2 participants