Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: Total http/2 concurrency for multiplexed multi-handle
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 9 Feb 2023 13:31:19 +0100 (CET)
On Thu, 9 Feb 2023, Jeroen Ooms wrote:
> OK, I had expected multiplexing to replace the need for
> multi-connections.
It does up to the point where the connection is "full" of streams and you ask
for even more transfers. Then libcurl creates a new connection. Unless you
limit the number of connections it can use.
> Do browsers still make multiple connections to hosts that support http/2
> multiplex?
My guess: browsers probably only do that in certain situations but mostly no.
> Perhaps a desirable default would be to do one or another, but not both?
If you want to limit the number of used connections, libcurl offers the
options to do so. Or you can wait with adding some of the transfer(s). The
default libcurl behavior is generally to perform the transfer you ask for
sooner rather than later.
Date: Thu, 9 Feb 2023 13:31:19 +0100 (CET)
On Thu, 9 Feb 2023, Jeroen Ooms wrote:
> OK, I had expected multiplexing to replace the need for
> multi-connections.
It does up to the point where the connection is "full" of streams and you ask
for even more transfers. Then libcurl creates a new connection. Unless you
limit the number of connections it can use.
> Do browsers still make multiple connections to hosts that support http/2
> multiplex?
My guess: browsers probably only do that in certain situations but mostly no.
> Perhaps a desirable default would be to do one or another, but not both?
If you want to limit the number of used connections, libcurl offers the
options to do so. Or you can wait with adding some of the transfer(s). The
default libcurl behavior is generally to perform the transfer you ask for
sooner rather than later.
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://curl.se/support.html -- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2023-02-09