A lept HTTP web server, coding in Linux.
Usage:
- git clone the code.
git clone git@github.com:M3stark/LeptHttp.git
- cd to the dir.
cd ~./LeptHttp
- make the project.
make
- run target with port name.
./webserver 10000
- Open the browser, input the the resources.
http:// your link : port name / index.html
Highlights:
- Using Thread Pool, Non-blocking Socket, Epoll and Proactor in this work.
- Using State Machine to resolve the HTTP request.
- Using Webbench to test presure.