Skip to content

feat(quic): properly unpack both ipv4 and ipv6 addresses#1236

Open
xpanvictor wants to merge 2 commits intolibp2p:mainfrom
xpanvictor:fix/quic-listener
Open

feat(quic): properly unpack both ipv4 and ipv6 addresses#1236
xpanvictor wants to merge 2 commits intolibp2p:mainfrom
xpanvictor:fix/quic-listener

Conversation

@xpanvictor
Copy link
Copy Markdown

What was wrong?

Issue #1232
The quic listener didn't properly unpack ipv6 addresses.

How was it fixed?

Socket.getsockname() returns
(host, port) for IPv4 and
(host, port, flowinfo, scope_id) for IPv6
so I pick via indices directly hereby same solution for v4 and v6 addresses.

Summary of approach.

To-Do

  • Clean up commit history
  • Add or update documentation related to these changes
  • Add entry to the release notes

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