A prototype of a web server, using master-worker architecture, written in C.
C Makefile
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.
src Send a dot instead of whitespace byte Jun 14, 2016
.gitignore Add benchmark logs to gitignore Oct 14, 2013
Makefile
README.md

README.md

Helles

A prototypical web server in C, using a master-worker architecture, leveraging Unix pipes as IPC mechanism.

At the moment it doesn't really work as a HTTP server, since it has a standard reply for every request.

Do not use this in production!

Building it

Use this to build it:

make all

Or this, to build it with debug information output:

make debug

Running it

Build it. Then run this:

./helles 3333

This will boot helles, listening on port 3333.

Change the number of workers

Change N_WORKERS in main.h

Licencse

All code except src/http_parser.c and src/http_parser.h: MIT

The http_parser is under copyright of Joyent: http_parser