Skip to content

Cache stream peer address and fix broken debug symbols - #85

Open
rustybee42 wants to merge 3 commits into
mainfrom
rb/cache-peer-addr
Open

rustybee42 wants to merge 3 commits into
mainfrom
rb/cache-peer-addr

Conversation

@rustybee42

Copy link
Copy Markdown
Collaborator

Related to #84

Previously, this would get it internally via getpeername() syscall on
every addr() call, which might fail if the connection breaks. This could
lead to panicking when logging the broken connection as an error as it
always contains the peer address.
@rustybee42 rustybee42 self-assigned this Sep 16, 2026
@rustybee42
rustybee42 requested a review from a team as a code owner September 16, 2026 10: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.

1 participant