Skip to content

wxiubin/TinyHttpd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyHttpd

Usage

gcc httpd.c -o httpd

./httpd -h
// usage: httpd [-p <port>] [-d <http serve root directory>]

TODO

  • Support custom port
  • Support GET method
  • Support POST method
  • The common MIME types
  • Directory listings
  • Support access log
  • Use fork mode accept new conntion
  • Support HTTP/1.1

About

A tiny C httpd

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published