Re: [PATCH] Get commits from remote repositories by HTTP
- From
- Adam Kropelin <akropel1@rochester.rr.com>
- Date
- Apr 16, 2005, 22:42 UTC
- Message-ID
- <011201c542d5$940bb670$03c8a8c0@kroptech.com>
- In-Reply-To
- <12c511ca050416152452a4c620@mail.gmail.com>
Tony Luck wrote:
> Otherwise this looks really nice. I was going to script something > similar using "wget" ... but that would have made zillions of seperate > connections. Not so kind to the server.
How about building a file list and doing a batch download via 'wget -i /tmp/foo'? A quick test (on my ancient wget-1.7) indicates that it reuses connectionss when successive URLs point to the same server.
Writing yet another http client does seem a bit pointless, what with wget and curl available. The real win lies in creating the smarts to get the minimum number of files.
--Adam