A HTTP/1.1 and HTTP/2 server based on chxnet
Currently under development.
- kernel version 5.19 or higher, with ktls enabled.
- gcc version 12.1 or higher.
- dependencies of chxnet and chxlog
- openssl version 3.0 or higher for TLS
- llhttp for HTTP/1.1
- boost version 1.75.0 or higher for program options and json parsing
git clone --recurse-submodules https://github.com/ChromoXYX/chxhttp.git
autoreconf -iv
./configure
# read ./configure --help for details
make
chxhttp uses json for configuration. Refer to config.json and conf.d/test.json for exmaples.