Skip to content

Separate local and remote transport addresses#117

Merged
yeoleobun merged 2 commits intorestsend:mainfrom
yeoleobun:fix/transport-local-remote-addr
May 7, 2026
Merged

Separate local and remote transport addresses#117
yeoleobun merged 2 commits intorestsend:mainfrom
yeoleobun:fix/transport-local-remote-addr

Conversation

@yeoleobun
Copy link
Copy Markdown
Collaborator

Summary

  • make get_addr() consistently return the local/listener address for transports
  • add get_remote_addr() for peer addresses on connected transports and incoming UDP packets
  • keep connection lookup keyed by remote address so TCP/TLS/WebSocket reuse still works

Verification

  • cargo check --features websocket,rustls
  • cargo check --tests --features websocket,rustls

@yeoleobun yeoleobun merged commit 7a74b68 into restsend:main May 7, 2026
3 checks passed
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