Skip to content

Tinyhttpd is a minimum functional HTTP server

Notifications You must be signed in to change notification settings

Yisaer/TinyHttpd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Tinyhttpd

tinyhttpd is a minimum functional HTTP server with epoll & non-blocking I/O & threadpool programming model in C programming language.

Compile and Run

  1. support only on Linux2.6+

  2. make sure you have cmake installed

     mkdir build && cd build
     cmake .. && make
     cd .. && ./build/serve -c conf.conf
    
  3. The default port is 3000 , You can visit URL http://localhost:3000 directly.

Support Function

  • HTTP persistent connection
  • browser cache
  • Timer to detect the timeout events

Programm model

  • epoll
  • non-blocking I/O
  • Threadpool

About

Tinyhttpd is a minimum functional HTTP server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages