Setup
Clone the repository, build the load generator, and prepare TLS certificates.
Clone and build
- Clone the repository:
git clone https://github.com/MDA2AV/HttpArena.git
cd HttpArena- Build and install gcannon:
git clone https://github.com/MDA2AV/gcannon.git
cd gcannon
make
sudo cp gcannon /usr/local/bin/Alternatively, if you prefer not to install system-wide, set the GCANNON environment variable:
export GCANNON=/path/to/gcannon/gcannonTLS certificates
The repository includes self-signed TLS certificates in certs/ for the HTTP/2 benchmark. These are automatically mounted into Docker containers by the benchmark script — no setup needed.
To regenerate them (optional):
openssl req -x509 -newkey rsa:2048 -keyout certs/server.key -out certs/server.crt \
-days 365 -nodes -subj "/CN=localhost"