You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker 7ee447c011
v811_spc009_project
4 months ago
..
Makefile v811_spc009_project 4 months ago
README.md v811_spc009_project 4 months ago
cert-big.crt v811_spc009_project 4 months ago
cert.crt v811_spc009_project 4 months ago
cert.key v811_spc009_project 4 months ago
client.c v811_spc009_project 4 months ago
client.rs v811_spc009_project 4 months ago
gen-certs.sh v811_spc009_project 4 months ago
http3-client.c v811_spc009_project 4 months ago
http3-client.rs v811_spc009_project 4 months ago
http3-server.c v811_spc009_project 4 months ago
http3-server.rs v811_spc009_project 4 months ago
qpack-decode.rs v811_spc009_project 4 months ago
qpack-encode.rs v811_spc009_project 4 months ago
rootca.crt v811_spc009_project 4 months ago
server.c v811_spc009_project 4 months ago
server.rs v811_spc009_project 4 months ago

README.md

How to build C examples

Requirements

You will need the following libraries to build the C examples in this directory. You can use your OS package manager (brew, apt, pkg, ...) or install them from source.

Build

Simply run make in this directory.

% make clean
% make

Examples Docker image

You can experiment with http3-client, http3-server, client and server using Docker.

The Examples Dockerfile builds a Debian image.

To build:

docker build -t cloudflare-quiche .

To make an HTTP/3 request:

docker run -it cloudflare-quiche http3-client https://cloudflare-quic.com