Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a353d56
)
enable output buffering in the recv generator. This makes a
author
Andrew Tridgell
<tridge@samba.org>
Thu, 2 Jul 1998 01:27:14 +0000
(
01:27
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 2 Jul 1998 01:27:14 +0000
(
01:27
+0000)
significant difference when the transport is ssh as ssh will otherwise
output a complete frame for each checksum record, which increases the
checksum data in size by a factor of around 4.
main.c
patch
|
blob
|
blame
|
history
diff --git
a/main.c
b/main.c
index
ed9dd17
..
dc2aac4
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-304,6
+304,8
@@
static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name)
set_nonblocking(f_out);
+ io_start_buffering(f_out);
+
generate_files(f_out,flist,local_name,recv_pipe[0]);
io_flush();