https://github.com/evuez/simple-http-server
A clumsy HTTP server implementation in C.
https://github.com/evuez/simple-http-server
Last synced: 9 months ago
JSON representation
A clumsy HTTP server implementation in C.
- Host: GitHub
- URL: https://github.com/evuez/simple-http-server
- Owner: evuez
- License: mit
- Created: 2016-08-13T09:32:25.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-10-02T15:10:58.000Z (over 7 years ago)
- Last Synced: 2024-10-19T17:30:17.731Z (over 1 year ago)
- Language: C
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple HTTP server
A `C` HTTP server that (kinda) handles `GET` requests in a definitely not sane manner.
It's a prefork server, number of forks is defined by `BACKLOG`.
Again it's no pretty code, but it was fun to implement.
```
gcc ./server-prefork.c -o server-prefork && ./server-prefork
```