On Thu, 23 Feb 2023, Richard W.M. Jones wrote:

The *can* share the same conncetion with HTTP/2 and HTTP/3 multiplexing, yes.

Does this sharing happen without us doing anything, or do we need to
use the curl share interface?  I only discovered share after sending
the original message yesterday.  I then patched nbdkit to use it:

curl can only do multiplexing for transfers done within a single multi handle.

should we expect curl + HTTP/2 to work well

Yes it should. It has been used in production for years.

The share interface (instead of multi) _won't_ give us HTTP/2
multiplexing?

Nope. And note that sharing the connection pool with the share interface is not thread-safe. It is a known bug/limitation.

--

 / 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/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to