Severity: medium Category: bug / quality Location:src/client/client_send.c:429-485, src/client/client_send.c:395-405
Description: --progress output is only implemented in the single-threaded send_files() path (src/client/client_send.c:395-405). The multithreaded send_files_multithreaded() function (src/client/client_send.c:429-485) sets config->show_progress but never prints any progress lines. Users running with -m see no transfer feedback.
Suggested fix:
Add a progress reporting mechanism that works across the scanner/loader/sender threads. Options:
Use atomic counters for total bytes sent and files completed, and have a progress thread print updates every second.
Or collect progress events through a small queue and print them from the main thread.
Ensure progress output works for both TCP and SSH transports in multithreaded mode.
Labels: bug, quality, threading
**Severity:** medium
**Category:** bug / quality
**Location:** `src/client/client_send.c:429-485`, `src/client/client_send.c:395-405`
**Description:**
`--progress` output is only implemented in the single-threaded `send_files()` path (`src/client/client_send.c:395-405`). The multithreaded `send_files_multithreaded()` function (`src/client/client_send.c:429-485`) sets `config->show_progress` but never prints any progress lines. Users running with `-m` see no transfer feedback.
**Suggested fix:**
Add a progress reporting mechanism that works across the scanner/loader/sender threads. Options:
- Use atomic counters for total bytes sent and files completed, and have a progress thread print updates every second.
- Or collect progress events through a small queue and print them from the main thread.
Ensure progress output works for both TCP and SSH transports in multithreaded mode.
**Labels:** bug, quality, threading
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Severity: medium
Category: bug / quality
Location:
src/client/client_send.c:429-485,src/client/client_send.c:395-405Description:
--progressoutput is only implemented in the single-threadedsend_files()path (src/client/client_send.c:395-405). The multithreadedsend_files_multithreaded()function (src/client/client_send.c:429-485) setsconfig->show_progressbut never prints any progress lines. Users running with-msee no transfer feedback.Suggested fix:
Add a progress reporting mechanism that works across the scanner/loader/sender threads. Options:
Ensure progress output works for both TCP and SSH transports in multithreaded mode.
Labels: bug, quality, threading