Skip to content

EvanMu96/KMRhttpd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KMRhttpd

kqueue based C++ non-blocking http server on Unix.

Usage

put your text file in the ./static directory.
to compile:
$ cmake ./
$ make
to start a server:
$ ./KMRhttpd 8000 # 8000 as the listening port.
If you cannot execute the Python cgi script, please try to set the mode of cgi script
$ chmod +x *.cgi

Reference

https://github.com/EZLippi/Tinyhttpd (multithreaded tinyhttpd)