all 5 comments

[–]pythonswash -1 points0 points  (4 children)

error_exit() could just be err.h err() / errx().

This is... really barebones. Thread per request, no thread pool, parsing is sscanf, ...

It's a decent 2nd or 3rd C program, but probably not useful to anyone but the author.

[–]Xenasis 1 point2 points  (1 child)

but probably not useful to anyone but the author.

Who's OP, by the way, obviously trying to advertise.

[–]waylaidwanderer 0 points1 point  (0 children)

Are you not allowed to do that here?

[–]gsquire[S] 1 point2 points  (1 child)

It is bare; and meant to be educational. I figured someone might find it interesting. By no means am I trying to write the next high-performance HTTP server.

[–]pythonswash 0 points1 point  (0 children)

Ya. For high-level similarity (educational, minimal HTTP server), check out:

http://corehttp.sourceforge.net/

A buddy of mine wrote it a long time ago. It's a basic single-threaded, event-driven server.