Miniweb is a lightwight HTTP WebServer based on C++11.
- Use Epoll with ET mode on Linux
- Use fixed number of thread poll
- Use task queue triggered by condition variable
- Use smart pointer
- OS Platform : Ubuntu 16.04.4 LTS
- Complier : gcc version 5.4.0
Please go to: www.yuguocong.cn/miniweb
# clone reposity to your local path.
git clone [email protected]:mianhk/miniweb.git
# modify config file to change port and so on.
port=5000
path="./www"
thread_num=4
# change to dir
cd src
# compile source code
make
# run miniweb
./miniweb
# or if you want run miniweb background
./miniserver 1>>log & # the output of the webserver will be in log file
- Only solves GET request,need to do more