mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-13 03:12:13 +00:00
Before upload starts file size is checked, so this is the place that updates progress.total counter. Uploading a file happens by reading unit_size bytes from file input stream and writing the buffer into http body writer stream. This is the place to update progress.uploaded counter. Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>