cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Multiple http2 request using limited connection ?

From: mahua dutta via curl-users <curl-users_at_cool.haxx.se>
Date: Sat, 9 Apr 2016 03:25:03 +0000 (UTC)

so you mean to say that libcurl supports the prallel transfer but not the curl command . right ?

      From: Daniel Stenberg <daniel_at_haxx.se>
 To: mahua dutta <mamon_dutta_at_yahoo.com>; the curl tool <curl-users_at_cool.haxx.se>
 Sent: Friday, April 8, 2016 12:12 PM
 Subject: Re: Multiple http2 request using limited connection ?
   
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
   
Sent from Yahoo Mail. Check it out      From: Daniel Stenberg <daniel_at_haxx.se>
 To: mahua dutta <mamon_dutta_at_yahoo.com>; the curl tool <curl-users_at_cool.haxx.se> 
 Sent: Friday, April 8, 2016 12:12 PM
 Subject: Re: Multiple http2 request using limited connection ?
   
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-09