On Wed, Apr 5, 2017, at 11:28 AM, Kamil Dudka wrote:

> Anyway, do not overestimate the power of HTTP/2.  It will not transparently
> bring you better transfers for free.  You can speak HTTP/2 even while using
> the curl tool but it is mainly useful for testing.  If you want to take the
> advantage of the HTTP/2 features, you need to use the multi API of libcurl
> and your software built on top of libcurl needs to be aware of the HTTP/2
> protocol. 

libostree does that - 
https://github.com/ostreedev/ostree/blob/c937305c0e7f5609273e25753912c294b040a6ac/src/libostree/ostree-fetcher-curl.c

In the exploded archive case, I get quite a lot of speedup.

librepo is not quite as good at this yet, but it matters less for RPMs.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to