Files
rustdesk/libs
fufesou be181a9d18 Fix/tcp websocket error propagation (#16946)
* 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>
2026-11-22 17:14:24 +08:00
..
2026-11-08 22:33:56 +08:00