An open API service indexing awesome lists of open source software.

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.

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
```