Setup

Clone the repository, build the load generator, and prepare TLS certificates.

Clone and build

  1. Clone the repository:
git clone https://github.com/MDA2AV/HttpArena.git
cd HttpArena
  1. 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/gcannon

TLS 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"