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.html

Reply via email to