curl-library
Re: Anyone for HTTP Pipelining?
Date: Fri, 23 Jun 2006 01:01:54 +0200
> The priority setting P could be used in addition to L or instead of L. If
> libcurl has an important transfer it submits it with a high priority and
> libcurl will immediately (or after a period L) open a new connection if no
> connections are completely free. If a low-priority transfer is submitted,
> libcurl would never open a new connection, but wait until all
> higher-priority
> requests are complete.
if there is a priority stuff, one mandatory thing: order should be respected
for equal priorities... not easy but for example when using WebDav MKCOL...
you do not want the dependent HTTP PUTs to happen before it occurred so they
must be pipe-lined to the same connection or must wait for the response.
it is a kind of dependency graph in requests (not very complex though, just
the type of "handle2" comes after "handle1"), each time you are sure that a
request will come after another, you enable the follower.
Armel
Received on 2006-06-23