curl-users
http pipelining usage?
From: Duncan Mac-Vicar Prett <dmacvicar_at_suse.de>
Date: Mon, 16 Apr 2007 13:58:40 +0200
Date: Mon, 16 Apr 2007 13:58:40 +0200
I read curl supports HTTP pipelining since some versions.
How do you take advantage from it? I am looking for example code.
What I want to do is:
- remote file http://host/file
I have a collection of byte ranges [ A-B, C-D, ... ]
I have some limit constants, for example MAX_RANGES_PER_REQUEST
I want to connect to the server, and request the byte ranges (the amout in
each perform limited by some constant), but inmediately ask for more set of
ranges before reading data.
Is this possible?
Cheers
-- Duncan Mac-Vicar Prett Novell :: SUSE R&D, Maxfeldstr. 5, 90409 Nürnberg GF: Markus Rex, HRB 16746 (AG Nürnberg)Received on 2007-04-16