wget: increase redirections limit
authorDavid Demelier <markand@malikania.fr>
Thu, 29 Aug 2019 12:05:27 +0000 (14:05 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 12 Sep 2019 10:09:30 +0000 (12:09 +0200)
commit4a9daf2b93e455b444f43f9cde309c7f235f6fb5
tree241c5ac5432c1e5dea8c86f1e5222730c43ceb45
parent7f89ebe18ff2f5b3b5e8b2d617d682cb1d56293b
wget: increase redirections limit

Some hosting services like sourceforge perform a lot of relocations
before actually serving the file. Example of current limitation:

    busybox wget http://sourceforge.net/projects/fluxbox/files/fluxbox/1.3.7/fluxbox-1.3.7.tar.xz
    Connecting to sourceforge.net (216.105.38.13:80)
    Connecting to sourceforge.net (216.105.38.13:443)
    Connecting to sourceforge.net (216.105.38.13:443)
    Connecting to sourceforge.net (216.105.38.13:443)
    Connecting to downloads.sourceforge.net (216.105.38.13:443)
    wget: too many redirections

Signed-off-by: David Demelier <markand@malikania.fr>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/wget.c