Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Send a clone file with its size in whole batches
The dumb transport read a pack four kilobytes at a time through stdio and sent it without a length, so a client could not tell a cut-off transfer from a complete one.
-rw-r--r--source/ui-clone.c22
-rwxr-xr-xtests/t0303-robustness.sh15
2 files changed, 33 insertions, 4 deletions