This commit is contained in:
parent
af94813d62
commit
bcf5665223
@ -6,11 +6,11 @@ Index: wget-1.19.1/src/http.c
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
+ if (statcode == HTTP_STATUS_RANGE_NOT_SATISFIABLE)
|
+ // if (statcode == HTTP_STATUS_RANGE_NOT_SATISFIABLE)
|
||||||
+ {
|
+ {
|
||||||
+ logprintf (LOG_VERBOSE, "hs->restval=%s\n", number_to_static_string(hs->restval));
|
+ fprintf (stderr, "hs->restval=%s\n", number_to_static_string(hs->restval));
|
||||||
+ logprintf (LOG_VERBOSE, "contrange=%s\n", number_to_static_string(contrange));
|
+ fprintf (stderr, "contrange=%s\n", number_to_static_string(contrange));
|
||||||
+ logprintf (LOG_VERBOSE, "contlen=%s\n\n", number_to_static_string(contlen));
|
+ fprintf (stderr, "contlen=%s\n\n", number_to_static_string(contlen));
|
||||||
+ }
|
+ }
|
||||||
if (statcode == HTTP_STATUS_RANGE_NOT_SATISFIABLE
|
if (statcode == HTTP_STATUS_RANGE_NOT_SATISFIABLE
|
||||||
|| (!opt.timestamping && hs->restval > 0 && statcode == HTTP_STATUS_OK
|
|| (!opt.timestamping && hs->restval > 0 && statcode == HTTP_STATUS_OK
|
||||||
|
Loading…
Reference in New Issue
Block a user