diff --git a/gio/ChangeLog b/gio/ChangeLog index 8d34c7337..2d3f3a00a 100644 --- a/gio/ChangeLog +++ b/gio/ChangeLog @@ -1,3 +1,10 @@ +2008-03-19 Alexander Larsson + + * gfile.c: + (copy_stream_with_progress): + Bump block side for copy to 64k to minimize + overhead for low latency links. (#523015) + 2008-03-16 Tor Lillqvist * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la diff --git a/gio/gfile.c b/gio/gfile.c index ab56a3c56..3a6c9a6bd 100644 --- a/gio/gfile.c +++ b/gio/gfile.c @@ -2124,7 +2124,7 @@ copy_stream_with_progress (GInputStream *in, { gssize n_read, n_written; goffset current_size; - char buffer[8192], *p; + char buffer[1024*64], *p; gboolean res; goffset total_size; GFileInfo *info;