https://bugs.kde.org/show_bug.cgi?id=516765
Albert Vaca Cintora <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/netw |https://invent.kde.org/netw |ork/kdeconnect-kde/-/commit |ork/kdeconnect-kde/-/commit |/94baac4b28589260b2348cbc09 |/63f88e89935467dbba8aab3892 |80711c83aba9ea |6d9f18e0f9065f --- Comment #3 from Albert Vaca Cintora <[email protected]> --- Git commit 63f88e89935467dbba8aab38926d9f18e0f9065f by Albert Vaca Cintora, on behalf of Mice Cagedbird. Committed on 14/06/2026 at 17:02. Pushed by albertvaka into branch 'release/26.04'. Fix: add connection timeout to CompositeUploadJob to prevent port leaks When notifications (or other payloads) are sent via the fire-and-forget path, CompositeUploadJob opens a TCP server in the file transfer port range (1739-1764). If the receiver never connects (e.g., notification dismissed, network issue), the port remains occupied indefinitely. This adds a 30-second single-shot timer that starts after the payload transfer packet is sent. If no connection is received within that window, the server is closed and the port is released. The timer is cancelled when a connection arrives. Adds BUILD_TESTING compile definition so test-only seams work. (cherry picked from commit 94baac4b28589260b2348cbc0980711c83aba9ea) M +1 -0 CMakeLists.txt M +26 -1 core/backends/lan/compositeuploadjob.cpp M +18 -7 core/backends/lan/compositeuploadjob.h https://invent.kde.org/network/kdeconnect-kde/-/commit/63f88e89935467dbba8aab38926d9f18e0f9065f -- You are receiving this mail because: You are watching all bug changes.
