mirror of
https://github.com/openssl/openssl.git
synced 2026-01-18 17:11:31 +01:00
Reviewed-by: Saša Nedvědický <sashan@openssl.org> Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org> (Merged from https://github.com/openssl/openssl/pull/29242)
Simple single-connection QUIC server example
This is a simple example of a QUIC server that accepts and handles one connection at a time. It demonstrates blocking use of the QUIC server API.
Type make to build and make run to run.
Usage:
./server <port-number> <certificate-file> <key-file>
Example client usage:
openssl s_client -quic -alpn ossltest -connect 127.0.0.1:<port-number>