mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-24 22:58:07 +00:00
* fix(macOS): network retry 3s if os error is EHOSTUNREACH Signed-off-by: fufesou <linlong1266@gmail.com> * fix(macos): detect nested network errors when retrying Signed-off-by: fufesou <linlong1266@gmail.com> * refactor(macos): isolate network error detection Move EHOSTUNREACH detection into the macOS platform module and share the fast retry timeout across both retry branches. Signed-off-by: fufesou <linlong1266@gmail.com> * test(macos): cover host-unreachable error chains Cover direct, context-wrapped, and nested EHOSTUNREACH errors while ensuring ECONNREFUSED does not trigger the fast-retry predicate. Signed-off-by: fufesou <linlong1266@gmail.com> --------- Signed-off-by: fufesou <linlong1266@gmail.com>