1
0
mirror of https://github.com/lxsang/ant-http synced 2024-07-01 12:59:47 +02:00
Go to file
2018-10-06 01:30:38 +02:00
libs clean up code 2018-10-05 19:07:14 +02:00
.gitignore make file now can handle plugins building 2018-09-19 15:07:14 +02:00
.travis.yml Update .travis.yml 2018-03-19 11:43:27 +01:00
ant-logo.png fix logo 2016-12-07 13:14:02 +01:00
antd fix missing query 2018-09-05 23:26:21 +02:00
forward use single thread scheduler and worker 2018-09-26 10:30:04 +02:00
http_server.c fix free pointer 2018-10-06 01:30:38 +02:00
http_server.h fix memory leak on the new non blocking system 2018-10-05 19:01:39 +02:00
httpd.c fix memory leak on the new non blocking system 2018-10-05 19:01:39 +02:00
LICENSE the mainline http server 2015-10-22 11:39:11 +02:00
Makefile use single thread scheduler and worker 2018-09-26 10:30:04 +02:00
plugin_manager.c fix memory leak on the new non blocking system 2018-10-05 19:01:39 +02:00
plugin_manager.h fix memory leak on the new non blocking system 2018-10-05 19:01:39 +02:00
README.md Update README.md 2018-09-22 20:26:19 +02:00
relay.c fix sync 2018-10-01 22:49:20 +02:00
var.mk fix remote build bug 2018-09-22 18:00:54 +02:00

Logo

ant-http

Build Status

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

  • It can be configurable to work well on embedded Linux for server application.
  • 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 with all plugins
wget -O - https://apps.lxsang.me/script/antd | bash -s "lua ph7 wterm wvnc"

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