e0d119d87b
- Max concurrent downloads is controlled by a config in getdown.txt: max_concurrent_downloads. It defaults to two. - A bunch of thread-safety problems were fixed. - While in there, I revamped the downloader to be less crufty from years of ad-hoc requirements accretion. - I disabled the Channel.transferFrom based download change because it prevents fine-grained feedback (and abort checking) from taking place, and it doesn't handle failure cases. Maybe we'll clean it up and re-enable it in the future.