https://github.com/tsherif/cervit
Minimal, multi-threaded POSIX HTTP 1.1 server written in C using only system libraries.
https://github.com/tsherif/cervit
http linux posix server
Last synced: 10 months ago
JSON representation
Minimal, multi-threaded POSIX HTTP 1.1 server written in C using only system libraries.
- Host: GitHub
- URL: https://github.com/tsherif/cervit
- Owner: tsherif
- License: mit
- Created: 2018-01-11T14:11:42.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-02T09:34:11.000Z (almost 8 years ago)
- Last Synced: 2025-03-24T08:55:13.443Z (10 months ago)
- Topics: http, linux, posix, server
- Language: C
- Homepage:
- Size: 195 KB
- Stars: 20
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
cervit
======
A minimal, multi-threaded POSIX HTTP 1.1 server for local web development, written in C using only system libraries.
Primarily intended as a learning resource for anyone curious how to build an HTTP server without helper libraries.
Build:
```bash
$ make
```
Run:
```bash
$ ./cervit
```
Defaults to using port 5000. Optionally, provide a different port as the first argument:
```bash
$ ./cervit 3000
```