https://bugs.kde.org/show_bug.cgi?id=516765
Mice <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Latest Commit| |https://invent.kde.org/netw | |ork/kdeconnect-kde/-/commit | |/94baac4b28589260b2348cbc09 | |80711c83aba9ea Resolution|--- |FIXED --- Comment #2 from Mice <[email protected]> --- Git commit 94baac4b28589260b2348cbc0980711c83aba9ea by Mice Cagedbird. Committed on 31/05/2026 at 06:12. Pushed by albertvaka into branch 'master'. 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. 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/94baac4b28589260b2348cbc0980711c83aba9ea -- You are receiving this mail because: You are watching all bug changes.
