port to arm64
[lnanohttp.git] / README
blob7b6f3427768af8d274abb84700dfc15a92c141f6
1 This is another _really_ minimal ISO C90-ish http server for linux:
2  - single-threaded (1 connection = 1 request)
3  - source configured (look for the configuration section in the code)
4  - epoll-ed
5  - signalfd-ed (i.e. synchronous)
6  - direct syscalls (no libc)
8 Only HEAD and GET methods.
10 To map a content-type to a file "A", add a file "A.mime" containing the
11 content-type.
12 **BIG FAT WARNING** vim editor will add a spurious 0x0a '/n' line feed at the
13 end of the mime file.
15 Will chroot in the configured path once started.
17 Don't forget you need to give root priviledges to the server in order to listen
18 on port 80.
20 Look in ulinux/patterns/network_server if you want to ramp up this server with
21 cloning, etc.