2008/1/5, Tristan Seligmann <[EMAIL PROTECTED]>:
> * Dmitry Kurochkin <[EMAIL PROTECTED]> [2008-01-05 02:58:35 +0300]:
>
> > > Also related to this idea:  can we adjust the order of downloads in the
> > > queue? e.g. maybe I'd like to add a file towards the front of the queue
> > > because I need it right now.  This might be doable if waitForURL could 
> > > bump
> > > up the priority of that URL, in case it hasn't yet been requested from the
> > > server.
> > Implementing priority is more difficult. There is no priority support
> > in curl AFAIK. Maybe there is priority in libwww but I do not think
>
> Wouldn't the use of pipelining mean that all of the requests should have
> already been sent?

No. Requests are sent by some constant amount (say 5) at a time.

>
> > Regarding the priority. Maybe we can get what something like this with
> > a second connection to the server? One connection for high priority
>
> This doesn't seem like a completely awful idea, but there should
> probably be a way to disable this, as some HTTP servers do not want to
> accept more than one connection at a time from the same source (among
> other potential problems).

We can fall back to a single connection if second connection fails.
Also we have an explicit option for this.

Regards,
  Dmitry
> --
> mithrandi, i Ainil en-Balandor, a faer Ambar
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.7 (GNU/Linux)
>
> iEYEARECAAYFAkd/i0cACgkQpNuXDQIV94pxawCffb6fKklJzqqVEa1qLCAVKoe/
> /OYAn0HfPk+iO4pLNoTJ3n4vms9UYHIk
> =lWvC
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> darcs-devel mailing list
> [email protected]
> http://lists.osuosl.org/mailman/listinfo/darcs-devel
>
>
_______________________________________________
darcs-devel mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-devel

Reply via email to