ant-http/README.md
2018-10-10 13:50:39 +02:00

1.9 KiB

Logo

ant-http

Build Status

A lightweight and portable HTTP/HTTPs web server written in C:

  • New 1.0.0 version: Nonblocking event driven base server with configurable number of thread pool workers, good for scalability
  • Initial goal is for embedded Linux, but can be used as general purpose web server.
  • Support SSL via open SSL, database via Sqlite 3, web socket integrated
  • It is also extensible via its extensions mechanism that allows to extends the server capability.

Plugins:

Build from source

build dep

  • git
  • make
  • build-essential

server dependencies

  • libssl-dev
  • libsqlite3-dev

build

When all dependencies are installed, the build can be done with a few single command lines:

mkdir antd
cd antd
# build without plugin
wget -O- https://get.makeand.run/antd | bash -s ""

The script will ask for a place to put the binaries (should be an absolute path, otherwise the build will fail) and the default HTTP port for the server config.