Missing heartbeat/keep-alive messages in protocol #100
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Long transfers with no activity may get dropped by firewalls/NATs. There is no keep-alive message in the protocol.
Location
src/shared/protocol.h (NEED STATUS enum)
Suggested Fix
Add
STATUS_KEEPALIVEto theNET_STATUSenum. Sender sends it periodically during long chunk transfers; receiver resets its timeout on receipt. Frequency should be configurable (default: every 30s of inactivity).Severity
medium
Category
feature
Sub-Agent
feature-scout (FS-6)
This issue was automatically generated by the issue-creator agent.
Fixed in PR #148 — merged into main on 2026-07-29.