cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Multiple http2 request using limited connection ?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 8 Apr 2016 08:42:17 +0200 (CEST)

On Fri, 8 Apr 2016, mahua dutta via curl-users wrote:

> i am not sure how to send multiple http2 request with limited connection .

curl's HTTP/2 support is summarized here: https://curl.haxx.se/docs/http2.html

But put simply: the command line tool still does its requests serially, one
after the other, so it can't really take full advantage of all the cool
features of HTTP/2 (like multiplexing) - although it speaks it perfectly fine.

libcurl can do multiplexing and basicaly any amount of parallel transfers.

In the long term I'd like to make the command line tool move over to use the
multi interface and allow simultaneous parallel transfers
(https://curl.haxx.se/docs/todo.html#simultaneous_parallel_transfers) for all
and any protocol version. That would seriously enhance curl's HTTP/2 powers.

Anyone interested in working on this?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-users
FAQ:        https://curl.haxx.se/docs/faq.html
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-04-08