Code

Add support for parallel HTTP transfers
authorNick Hengeveld <nickh@reactrix.com>
Tue, 11 Oct 2005 06:22:01 +0000 (23:22 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 11 Oct 2005 06:22:01 +0000 (23:22 -0700)
commit1d389ab65dc6867d3059d60bb2b3951bc01a185e
tree4382058125db4ea9b0651bc829c6de8c38249cd8
parent340e4f88c083b0692e6554b1c2c27fd43c7cc8d3
Add support for parallel HTTP transfers

Add support for parallel HTTP transfers.  Prefetch populates a queue of
objects to transfer and starts feeding requests to an active request
queue for processing; fetch_object keeps the active queue moving
while the specified object is being transferred.  The size of the active
queue can be restricted using -r and defaults to 5 concurrent transfers.
Requests for objects that are not prefetched are also processed via the
active queue.

Signed-off-by: Nick Hengeveld <nickh@reactrix.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
http-fetch.c