GitXplorerGitXplorer
l

tils

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
39d4b60c5a106da1129ab2514415d1dc2b57e95f

Moving toward thread scheduling mechanism

llwander committed 9 years ago
Unverified
eb6ef6b7af3ce26f04b32face0767a7a5723e7f8

Goodbye conn_buf, replaced with queue

llwander committed 9 years ago
Unverified
15b98c0bf954c309fae0a6b1b658373e13674fe6

Ignore generated executable

llwander committed 9 years ago
Unverified
ba4ef2a71e4598cf0c6d4d01bcbf08a599f1b2c8

Atomic lock free queue complete

llwander committed 9 years ago
Unverified
3d529b7ebef082c21f6f8c206c05cd52d6da493b

Turns out stdatomic is unneeded

llwander committed 9 years ago
Unverified
1bb81909ccb91718a6dd6de0a51f0286d3eede86

Playing with atomics API

llwander committed 9 years ago

README

The README file for this repository.

HTTP server written in C

The goal is to create a static HTTP library, with a couple of constraints.

  1. Minimize memory allocations.

  2. Minimize memory copies.

  3. Non-blocking IO whenever possible.

  4. Run 1 thread per CPU core.

  5. Minimal connection overhead.

Compiling

Requires GCC 4.4+, tested with 4.9.2

$ make       # to build
$ make clean # to remove artifacts & executable

Running

$ ./tils [port number] # default port is 80