Follow-up Comment #2, bug #45689 (project wget): Hi Darshit,
This is not the same concept as the persistent connections in HTTP (those with Connect: Keep-Alive). What happens here is that if you download two documents from the same FTP server (ie. `wget ftp://site.com/file1.txt ftp://site.com/file2.txt`) Wget will open a connection, download the file, and close the connection again for each of the files. This is inefficient if we take into account that both files are stored in the same server (ie, site.com). It'd be better to open the connection to site.com once, and send two RETRs over the same connection, and then close the connection. It's a simple concept, in reality. This happens because the traversal is done in recur.c, whereas the actual connection-download-close process is done in ftp.c, and there's no relationship between both. This issue was among my favorites, but I won't work on it until at least one month, so feel free to fix this, if you want :D _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?45689> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
