https://bugs.kde.org/show_bug.cgi?id=524523

Albert Vaca Cintora <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/netw
                   |                            |ork/kdeconnect-kde/-/commit
                   |                            |/51dfea90bd7ed843e3687cf2ed
                   |                            |25a8250b40b6fe
         Resolution|---                         |FIXED

--- Comment #2 from Albert Vaca Cintora <[email protected]> ---
Git commit 51dfea90bd7ed843e3687cf2ed25a8250b40b6fe by Albert Vaca Cintora, on
behalf of JAEHEUNG CHO.
Committed on 23/08/2026 at 21:03.
Pushed by albertvaka into branch 'master'.

Fix TCP keepalive tuning being compiled out on macOS

configureSocket() guards the keepalive settings with #ifdef TCP_KEEPIDLE,
which Darwin does not define, so the whole block is dropped from the macOS
build and the socket keeps the system default idle timeout of 7200s. A LAN
link whose peer disappears silently then stays "paired and reachable" for
about two hours and blocks reconnection over any other route.

Darwin's equivalent of TCP_KEEPIDLE is TCP_KEEPALIVE, the idle time in
seconds before the first probe. TCP_KEEPINTVL and TCP_KEEPCNT already exist
there. Widen the guard and select the right option per platform so macOS
gets the same ~60s detection window Linux got from 31c755d2.

Assisted-by: Claude Opus 5 (Claude Code)

M  +10   -5    core/backends/lan/lanlinkprovider.cpp

https://invent.kde.org/network/kdeconnect-kde/-/commit/51dfea90bd7ed843e3687cf2ed25a8250b40b6fe

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to