Josef Möllers 2017-09-14 08:49:19 +00:00 committed by Git OBS Bridge
parent af94813d62
commit bcf5665223

View File

@ -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));
+ logprintf (LOG_VERBOSE, "contrange=%s\n", number_to_static_string(contrange));
+ logprintf (LOG_VERBOSE, "contlen=%s\n\n", number_to_static_string(contlen));
+ fprintf (stderr, "hs->restval=%s\n", number_to_static_string(hs->restval));
+ fprintf (stderr, "contrange=%s\n", number_to_static_string(contrange));
+ fprintf (stderr, "contlen=%s\n\n", number_to_static_string(contlen));
+ }
if (statcode == HTTP_STATUS_RANGE_NOT_SATISFIABLE
|| (!opt.timestamping && hs->restval > 0 && statcode == HTTP_STATUS_OK