J
J
JackHammeret2011-11-11 07:36:10
C++ / C#
JackHammeret, 2011-11-11 07:36:10

Is there a source code for any web server preparations under *nix in C?

Maybe someone knows some small project, an example-blank, of a web server daemon, open source, written in C. By minimalistic, I mean the following functionalities:

1. Forming and issuing an http header
2. Function \ its preparation for displaying the "body" of the page from RAM
3. Receiving data via get \ post
4. Sessions

As an option - some kind of cumbersome C library , for working with HTTP.

Offer and options that do not fit into my requirements, but may partially coincide with them.

Thank you all in advance for your replies!

Answer the question

In order to leave comments, you need to log in

5 answer(s)
E
evgeny_eJ, 2011-11-11
@evgeny_eJ

Try this one: onehttpd

M
Maxim Avanov, 2011-11-11
@Ghostwriter

0w.ru/httpd/
Very small, very smart. At one time, in narrow circles, it was considered "Mail.ru's answer to Rambler's nginx."

A
Andrey Kravchuk, 2011-11-11
@prefrontalCortex

Try Mongoose again.

A
alienator, 2011-11-13
@alienator

micro_httpd
Just for fun, but quite a working server in 250 lines.

D
Dmitry, 2011-11-11
@enterdv

nginx, though not in C

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question