mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Allow --timestamping and --continue at the same time.
This commit is contained in:
parent
eb76fcbe2b
commit
19ef7249b8
3
NEWS
3
NEWS
@ -10,6 +10,9 @@ Please send GNU Wget bug reports to <bug-wget@gnu.org>.
|
|||||||
** Now --version and --help work again.
|
** Now --version and --help work again.
|
||||||
|
|
||||||
** Fix a build error on solaris 10 sparc.
|
** Fix a build error on solaris 10 sparc.
|
||||||
|
|
||||||
|
** If --timestamping and --continue can be used at the same time.
|
||||||
|
|
||||||
|
|
||||||
* Changes in Wget 1.13.3
|
* Changes in Wget 1.13.3
|
||||||
|
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2011-09-07 Giuseppe Scrivano <gscrivano@gnu.org>
|
||||||
|
|
||||||
|
* http.c (gethttp): Don't inhibit arest request if opt.timestamping is
|
||||||
|
set.
|
||||||
|
Reported by <natrio@list.ru>
|
||||||
|
|
||||||
2011-09-06 Jakob Matthes <jakob.matthes@gmail.com> (tiny change)
|
2011-09-06 Jakob Matthes <jakob.matthes@gmail.com> (tiny change)
|
||||||
|
|
||||||
* main.c (print_version): Do not exit prematurely when --help is passed.
|
* main.c (print_version): Do not exit prematurely when --help is passed.
|
||||||
|
@ -1626,7 +1626,7 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy,
|
|||||||
/* ... but some HTTP/1.0 caches doesn't implement Cache-Control. */
|
/* ... but some HTTP/1.0 caches doesn't implement Cache-Control. */
|
||||||
request_set_header (req, "Pragma", "no-cache", rel_none);
|
request_set_header (req, "Pragma", "no-cache", rel_none);
|
||||||
}
|
}
|
||||||
if (hs->restval && !opt.timestamping)
|
if (hs->restval)
|
||||||
request_set_header (req, "Range",
|
request_set_header (req, "Range",
|
||||||
aprintf ("bytes=%s-",
|
aprintf ("bytes=%s-",
|
||||||
number_to_static_string (hs->restval)),
|
number_to_static_string (hs->restval)),
|
||||||
|
Loading…
Reference in New Issue
Block a user