misbehaving HTTP server makes lftp retry forever

Nate Sutton <[email protected]> Tue, 29 Mar 2016 19:37:06 -0500
Newsgroups gmane.network.lftp.user
Message-ID <CAMZDCY2Ky-2jSVbW1GV8oBu3OUJ0jeObw0_4c5nh+UFzmQEo+A@mail.gmail.com>
I'm downloading from an HTTP server where it stops sending the file at
about 40 MB and then stops sending data. lftp doesn't seem to handle this
very well and retries the transfer over and over and over, indefinitely.

https://gist.github.com/nate/e7e47d3a86118439c36a1877847d8b01

This happens with pget -n 5, pget -n 1, and get.

Is this expected behavior? Is there a way to disable it? Or set a max
number of retries? net:max-retries is already set to 3...

Thanks!

_______________________________________________
lftp mailing list
[email protected]
http://univ.uniyar.ac.ru/mailman/listinfo/lftp