Skip to content

A prototype of a web server, using master-worker architecture, written in C.

Notifications You must be signed in to change notification settings

mrnugget/helles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A prototype of a web server, using master-worker architecture, written in C.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published