Go to file
2019-12-19 09:58:19 +01:00
dist zzzz 2019-12-15 18:32:43 +01:00
lib fix write 2019-12-19 09:52:56 +01:00
.gitignore add config files 2019-11-13 14:22:25 +01:00
.travis.yml Update .travis.yml 2019-11-20 09:00:41 +01:00
ant-logo.png fix logo 2016-12-07 13:14:02 +01:00
antd-config.ini new api 2019-12-15 12:10:06 +01:00
configure.ac change log mechanism 2019-12-11 22:17:42 +00:00
forward use single thread scheduler and worker 2018-09-26 10:30:04 +02:00
http_server.c fix write 2019-12-19 09:58:19 +01:00
http_server.h new api 2019-12-15 12:10:06 +01:00
httpd.c fix write 2019-12-19 09:58:19 +01:00
LICENSE the mainline http server 2015-10-22 11:39:11 +02:00
Makefile.am fix -O flag 2019-11-18 14:07:43 +01:00
plugin_manager.c change log mechanism 2019-12-11 22:17:42 +00:00
plugin_manager.h switch to autotools 2019-11-13 11:48:54 +01:00
README.md new api 2019-12-15 12:10:06 +01:00
relay.c fix relay server 2019-08-22 14:17:34 +02:00
ssl_score.png Add files via upload 2019-11-08 16:00:58 +01:00

Logo

ant-http

Build Status

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

  • New 1.0.0 version (BETA feature): 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 extension mechanism that allows to extends the server capability.
  • Grade A SSL security score by SSL Labs SSL score

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

build

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

mkdir antd
cd antd
# Replace x.x.x by the version number
# build without plugin
wget -O- https://get.bitdojo.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 --enable-debug=yes
make
sudo make install

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.

Generate distribution

libtoolize
aclocal
autoconf
automake --add-missing
make distcheck

To do

  • variable size dictionary
  • refactoring libantd API, remove unused functions
  • remove static strings, replace it by configurations