mirror of
https://github.com/mirror/wget.git
synced 2025-01-27 21:00:31 +08:00
Report the total avg transfer speed correctly with multiple URL's and -c.
This commit is contained in:
parent
e16bd20474
commit
aca9f566b6
3
NEWS
3
NEWS
@ -26,6 +26,9 @@ Please send GNU Wget bug reports to <bug-wget@gnu.org>.
|
||||
|
||||
** Do not use an additional HEAD request when --content-disposition is used,
|
||||
but use directly GET.
|
||||
|
||||
** Report the average transfer speed correctly when multiple URL's are specified
|
||||
and -c influences the transferred data amount.
|
||||
|
||||
* Changes in Wget 1.12
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2010-06-10 Muthu Subramanian K <muthusuba@gmail.com> (tiny change)
|
||||
|
||||
* http.c (http_loop): Increase `total_downloaded_bytes' by
|
||||
`hstat.rd_size', not `hstat.len'.
|
||||
|
||||
2010-06-10 Giuseppe Scrivano <gscrivano@gnu.org>
|
||||
|
||||
* main.c (print_version): Drop the current maintainer line.
|
||||
|
@ -3029,7 +3029,7 @@ Remote file exists.\n\n"));
|
||||
hstat.local_file, count);
|
||||
}
|
||||
++numurls;
|
||||
total_downloaded_bytes += hstat.len;
|
||||
total_downloaded_bytes += hstat.rd_size;
|
||||
|
||||
/* Remember that we downloaded the file for later ".orig" code. */
|
||||
if (*dt & ADDED_HTML_EXTENSION)
|
||||
@ -3062,7 +3062,7 @@ Remote file exists.\n\n"));
|
||||
hstat.local_file, count);
|
||||
}
|
||||
++numurls;
|
||||
total_downloaded_bytes += hstat.len;
|
||||
total_downloaded_bytes += hstat.rd_size;
|
||||
|
||||
/* Remember that we downloaded the file for later ".orig" code. */
|
||||
if (*dt & ADDED_HTML_EXTENSION)
|
||||
|
Loading…
Reference in New Issue
Block a user