Go to file
DanyLE 2863cf1710
gitea-sync/ant-http/pipeline/head This commit looks good Details
fix(CI): use cross toolchain
2024-03-13 23:30:42 +01:00
dist cleanup unuse functions 2021-10-08 23:35:02 +02:00
lib feat: rework on plugin support 2024-03-13 18:07:07 +01:00
.gitignore refactor: refactoring base code 2024-03-12 21:59:50 +01:00
Jenkinsfile fix(CI): use cross toolchain 2024-03-13 23:30:42 +01:00
LICENSE the mainline http server 2015-10-22 11:39:11 +02:00
Makefile.am feat: rework on plugin support 2024-03-13 18:07:07 +01:00
README.md Update README.md 2022-08-01 18:23:04 +02:00
ant-d add service file 2020-08-08 20:35:21 +02:00
ant-logo.png fix logo 2016-12-07 13:14:02 +01:00
antd-config.ini feat: rework on plugin support 2024-03-13 18:07:07 +01:00
antd.service cleanup code 2020-08-19 12:26:17 +02:00
build.json save the entire post request body to request 2022-08-19 17:57:45 +02:00
config.c feat: rework on plugin support 2024-03-13 18:07:07 +01:00
config.h refactor: refactoring base code 2024-03-12 21:59:50 +01:00
configure.ac refactor: refactoring base code 2024-03-12 21:59:50 +01:00
decode.c feat: rework on plugin support 2024-03-13 18:07:07 +01:00
decode.h refactor: refactoring base code 2024-03-12 21:59:50 +01:00
httpd.c feat: add SIGTERM handling 2024-03-13 22:48:10 +01:00
plugin_manager.c feat: rework on plugin support 2024-03-13 18:07:07 +01:00
plugin_manager.h feat: rework on plugin support 2024-03-13 18:07:07 +01:00
server.c feat: rework on plugin support 2024-03-13 18:07:07 +01:00
server.h feat: rework on plugin support 2024-03-13 18:07:07 +01:00

README.md

Logo

ant-http

A lightweight HTTP/HTTPs (1.1) web server written in C:

  • Nonblocking event driven base server with configurable number of thread pool workers.
  • Initial goal is for embedded Linux, but can be used as general purpose web server.
  • Support:
    • SSL via open SSL,
    • builtin support Sqlite 3,
    • web socket,
    • reverse proxy
  • It is also extensible via its extension mechanism that allows to extends the server capability.
  • Page compression with gzip, deflate, cache control

Plugins:

Build from source

build dep

  • git
  • make
  • build-essential

server dependencies

  • libssl-dev (expecting openssl v1.1.1d, only support TLSv1.2 and TLSv1.3)
  • libsqlite3-dev
  • zlib-dev

build

With all dependencies installed:

mkdir antd
cd antd
# Replace x.x.x by the version number
# build without plugin
wget -O- https://get.iohub.dev/antd | bash -s "x.x.x"

# or from the distribution tarball
tar xvzf antd-x.x.x.tar.gz
cd antd-x.x.x
./configure --prefix=/usr
make
sudo make install

Generate distribution

libtoolize
aclocal
autoconf
automake --add-missing
make distcheck