feat: support mieru UDP outbound#2384
Conversation
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
|
maybe should fix those problem, we have encountered this panic twice in CI. eg: https://github.com/MetaCubeX/mihomo/actions/runs/19690634360/job/56405414712#step:6:922 |
|
The test error exposes some concurrency issue under stress. I will do some analysis. |
|
Feedback indicates that the current UDP outbound traffic cannot handle cases where the server is a domain name. I reviewed the existing client API and found that although a resolver can be specified, but it directly resolves the domain name to an IP address very early on via Is there a better implementation, such as re-triggering the resolution when a reconnection occurs? |
|
It is OK to pass domain name as is when creating |
Note: because UDP transport uses a single goroutine to handle all incoming packets to the same destination port, it is slow and can't survive stress test. We may fix that in the future.