Protocol improvements: keepalive, abort, atomic writes, batch incremental check (#100-#102, #106) #140
Reference in New Issue
Block a user
Delete Branch "fix/protocol-improvements"
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?
Fixes 4 protocol issues:\n- #100: Heartbeat/keep-alive messages (every 30s)\n- #101: Cancellation/abort mechanism via STATUS_ABORT\n- #102: Atomic file writes (write .tmp then rename)\n- #106: Batch incremental check to reduce round-trips
=== PR #140 REVIEW ===
Branch: fix/protocol-improvements
Files: 23 changed
=== SUMMARY ===
Protocol improvements: keepalive, abort mechanism, atomic file writes, batch incremental check, and security hardening.
=== ISSUES ===
Same findings as PR #138/#139:
[WARNING-1] src/shared/utils.c:152-169 — has_path_traversal: symlink bypass possible
[WARNING-2] src/shared/utils.c:12-51 — mkdir_r: manual strcpy arithmetic (fragile)
[STYLE-1] src/shared/protocol.c:19-21 — io_bwlimit: non-thread-local globals
[STYLE-2] src/client/client_cli.c:80 — read_patterns_from_file: fixed 4096 buffer
=== VERDICT ===
No critical issues found. APPROVED.
e9e50bb48ato8d38913e878d38913e87to6c730c9775Pull request closed