Commit b3e10ed7 authored by Andrew Tridgell's avatar Andrew Tridgell

enable output buffering in the recv generator. This makes a

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.
parent a353d563
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment