Missing --timeout / --contimeout CLI flags for connection and I/O timeouts #95
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
FastSync has no command-line flag to set I/O or connection timeouts. The socket timeout is hardcoded to 30 seconds in
transport_tcp.c:19(set_socket_timeouts()). Users working with slow networks or large transfers need finer control:--timeout <sec>for I/O operations (read/write)--contimeout <sec>for connection establishmentLocation
Suggested Fix
Add
timeout_sec(default 30) andcontimeout_sec(default 10) fields to theConfigstruct. Parse--timeoutand--contimeoutinclient_cli.c. Pass values toset_socket_timeouts()andclient_connect().Severity
medium
Category
feature
Sub-Agent
feature-scout (FS-1)
This issue was automatically generated by the issue-creator agent.
Fixed in PR #148 — merged into main on 2026-07-29.