c++ – How to integrate QUIC client into Boost.Asio using OpenSSL?

OpenSSL provides support for the QUIC protocol starting from version 3.2, offering QUIC-capable SSL objects and the necessary APIs for handling QUIC connections. However, `boost::asio` does not include QUIC support, and its existing abstractions are designed primarily for TCP, UDP, and traditional TLS over TCP (via OpenSSL).

I found a QUIC client implementation in the OpenSSL repository and on their website:

github.com/openssl/openssl/tree/master/demos/http3

docs.openssl.org/3.2/man7/ossl-guide-quic-client-non-block/#copyright

However, I don’t know how to properly useboost::asio with this API.

My question is, how do I properly implement a Async QUIC client using `OpenSSL` and `boost::asio`?

Read more here: Source link