blob: b2438cc52158bbcd8ffad9128d31d064e34975d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
### Web Server
This is a simple http web server written in C with minimal dependencies.
It uses the unix socket api and optionally libmagic for file information.
### Build
I don't like Makefile, so I wrote a shell script that compiles the program.
Use `./build.sh help` to learn more about the build options and `./build.sh run` just to run the program
### Limitation
I have implemented only the GET request method, which just send the requested
file from the `files` directory. There also isn't a hash table for the headers
because I am lazy and it will make the project more unnessairly complex.
|