Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Conversation

@larseggert
Copy link
Collaborator

interface_and_mtu is now behind the default-on addr feature.

The point of this is to introduce interface_and_mtu_of_socket, which operates on an existing UdpSocket. That means we can avoid connect, which is blocklisted by Firefox for dependencies.

The downside is that we would need to pass in the actual UdpSocket to the neqo transport code, which is probably a huge pain...

`interface_and_mtu` is now behind the default-on `addr` feature.

The point of this is to introduce `interface_and_mtu_of_socket`, which
operates on an existing `UdpSocket`. That means we can avoid `connect`,
which is blocklisted by Firefox for dependencies.

The downside is that we would need to pass in the actual `UdpSocket` to
the neqo transport code, which is probably a huge pain...
@mxinden
Copy link
Member

mxinden commented Sep 27, 2024

The downside is that we would need to pass in the actual UdpSocket to the neqo transport code, which is probably a huge pain...

Under the assumption that the socket MTU is reasonably static, neqo-bin could retrieve the MTU off of the long lived socket and then pass the socket MTU to neqo-http3 / neqo-transport at construction time.

Edit: Problem is, we don't know the remote IP address at that point.

@larseggert
Copy link
Collaborator Author

We also need to get the MTU for each path, not just at creation time.

There is a feature request for net-route that would be helpful (johnyburd/net-route#28); we could then query the routing table directly without needing to bind and connect any sockets.

@larseggert
Copy link
Collaborator Author

Closing this in favor of #29.

@larseggert larseggert closed this Oct 2, 2024
@larseggert larseggert deleted the feat-addr-feature branch January 22, 2025 08:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants