Skip to content

Conversation

picoHz
Copy link
Owner

@picoHz picoHz commented Mar 31, 2025

Implement the IPV6_V6ONLY flag for QUIC ports to ensure proper handling of IPv6 addresses in the socket configuration.

@picoHz picoHz added the bug Something isn't working label Mar 31, 2025
@picoHz picoHz requested a review from Copilot March 31, 2025 11:58
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements the IPV6_V6ONLY flag for QUIC ports by altering the QUIC endpoint creation logic.

  • Replaces the direct use of quinn::Endpoint::server with a custom create_quic_endpoint function.
  • Implements conditional logic to set the IPV6_V6ONLY flag for IPv6 addresses.
  • Sets up socket options and binds the QUIC socket using the socket2 API.

@picoHz picoHz merged commit 8b33e0b into main Mar 31, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant