An adventure in writing a small multi-threaded web server in C.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dataStructures
Makefile
README.MD
chibiServer.c
chibiWeb.c
chibiWeb.h
chibiWebDefs.h
request.c
request.h
response.c
response.h

README.MD

ChibiWebC

ChibiWebC is an adventure in writing a small web-server in C.

Current target features are:

  • Multi-threading (done)
  • GET request parameter support (done)
  • POST request support
  • Path recognition support with callback handlers (done)
  • File serving (basic)
  • HTML Templating

Design decisions

As the project develops many decisions must be made on the use of data structures or algorithms. My current approach is to keep it simple, clean and iterate as the requirements change e.g., need more speeeeeed.

Warning!

This code is a work-in-progress and not designed for external facing web-servers.