Skip to content

Conversation

picoHz
Copy link
Owner

@picoHz picoHz commented Apr 2, 2025

Update the QUIC endpoint creation process to utilize an abstract socket, enhancing runtime management and error handling.

@picoHz picoHz added the bug Something isn't working label Apr 2, 2025
@picoHz picoHz requested a review from Copilot April 2, 2025 11:22
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 updates the QUIC endpoint creation to utilize an abstract socket in order to improve runtime management and error handling. The key changes include switching from quinn::Endpoint::new to quinn::Endpoint::new_with_abstract_socket and wrapping the UDP socket with the runtime.

Comments suppressed due to low confidence (1)

taxy/src/server/quic.rs:184

  • Ensure that tests are added to cover the behavior of the new abstract socket functionality, especially under scenarios where socket wrapping may fail.
runtime.wrap_udp_socket(socket.into())?

@picoHz picoHz merged commit a8e68bd into main Apr 2, 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