Skip to content

Commit

Permalink
Include more logging for HTTP range requests
Browse files Browse the repository at this point in the history
  • Loading branch information
nroi committed Aug 4, 2024
1 parent 2453f02 commit c44a7c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flexo/src/mirror_flexo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,10 @@ impl Job for DownloadJob {
channel.handle.follow_location(true).unwrap();
channel.handle.max_redirections(MAX_REDIRECTIONS).unwrap();
match channel.progress_indicator() {
None => {},
None => {
// FIXME this is too noisy: Use log level debug! once #93 has been fixed.
info!("No range request will be used, i.e., the entire file will be downloaded")
},
Some(start) => {
info!("Resume download of {} from byte {}", &self.uri, start);
channel.handle.resume_from(start).unwrap();
Expand Down

0 comments on commit c44a7c9

Please sign in to comment.