Skip to content

wget: new option --follow-metalink

Tim Rühsen requested to merge gh-385e0d52/74/giuseppe/follow-metalink into master

Created by: giuseppe

  • src/options.h (struct config): Define follow_metalink.
  • src/options.c (print_help): Add description for follow-metalink. (struct options): Add follow-metalink. (struct config): Initialize follow_metalink.
  • src/wget.c (downloader_thread): Skip following metalinks when follow_metalink is off. (_get_header): Store the metalink file when follow_metalink is false.

Merge request reports