mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-10-12 06:26:15 -08:00
Add a try_recv() fast path to recv_packet_from_chan(): if a packet is immediately available, return it without parking the task. Only when the channel is empty do we fall back to recv().await. This benefits all callers of recv_packet_from_chan() including start_peer_recv, virtual_nic, foreign_network_manager, and instance.