/README (08e334dad42c193db39de7e066c7f5d8565c36bb) (813 bytes) (mode 100644) (type blob)

This is another _really_ minimal ISO C90-ish http server for linux:
 - single-threaded (1 connection = 1 request)
 - source configured (look for the configuration section in the code)
 - epoll-ed
 - signalfd-ed (i.e. synchronous)
 - direct syscalls (no libc)

Only HEAD and GET methods.

To map a content-type to a file "A", add a file "A.mime" containing the
content-type.
**BIG FAT WARNING** vim editor will add a spurious 0x0a '/n' line feed at the
end of the mime file.

Will chroot in the configured path once started.

Don't forget you need to give root priviledges to the server in order to listen
on port 80.

Look in ulinux/patterns/network_server if you want to ramp up this server with
cloning, etc.

--------

I want a generic ELF data table builder.
I'm stuck with the ISO C99 data table builder.
:)


Mode Type Size Ref File
100644 blob 246 bbf313b25987d0d61b1cea33a8e6188501e221ac .gitignore
100644 blob 34520 dbbe3558157f5861bff35dcb37b328b679b0ccfd LICENSE
100644 blob 813 08e334dad42c193db39de7e066c7f5d8565c36bb README
100644 blob 1063 b6b20d022f6a4cc8bc9df75b08f531f57f8ebc97 exit_codes.h
100644 blob 20232 38839b53efacaf6b0f45fb6ba0b41d33fde394ea lnanohttp.c
100755 blob 5512 df7cc158e3f74e9da64c437f272806411e25e205 make
040000 tree - 0beb4cdee0d9a3445ef8e43e8a2805cd9018c62a ulinux
100644 blob 5233 c54f3116c17432a1a59a334b1b81c55dd8f63cfd ulinux_namespace.h
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/sylware/lnanohttp

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/sylware/lnanohttp

Clone this repository using git:
git clone git://git.rocketgit.com/user/sylware/lnanohttp

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main