List of commits:
Subject Hash Author Date (UTC)
fix exit codes 9914ed973ba73daf29e7135980277677da5b1b83 Sylvain BERTRAND 2016-05-06 05:46:05
warning about spurious line feed with text editors 81fa0e376b074d96c080611986d64ad4a2833802 Sylvain BERTRAND 2016-04-29 09:15:16
really bad advice fixed 167bc5818ef0c4392c3eb877d8d464bfef1a45c7 Sylvain BERTRAND 2016-04-29 00:00:15
content-type support 30ab51cd0ae1f9a3ebb55ca145b1ad8c1221533c root 2016-04-28 23:39:07
typo fix, thx Florian Bruhin from suckless 4bd12dd5d83edf9c216f470098341529e3c31a3e Sylvain BERTRAND 2016-04-20 14:27:01
handle other side closed connection (0 bytes read) 019e89b4327f902dd6d28264cda5f114b67172e4 Sylvain BERTRAND 2016-04-20 14:00:40
working enough for my personnal use 905534989172399ceb39502913c24ea51e5daf42 Sylvain BERTRAND 2016-04-20 00:13:48
Initial commit 143cb38e968fd7384da0d66a3cedee87c12852cc Sylvain BERTRAND 2016-04-20 00:04:50
Commit 9914ed973ba73daf29e7135980277677da5b1b83 - fix exit codes
Author: Sylvain BERTRAND
Author date (UTC): 2016-05-06 05:46
Committer name: Sylvain BERTRAND
Committer date (UTC): 2016-05-06 05:46
Parent(s): 81fa0e376b074d96c080611986d64ad4a2833802
Signing key:
Tree: fb588d69851e3a42d46b1d0291b4ff1a44b90d0a
File Lines added Lines deleted
exit_codes.h 19 19
File exit_codes.h changed (mode: 100644) (index f82175f..b6b20d0)
3 3 /* this code is protected by the GNU affero GPLv3 /* this code is protected by the GNU affero GPLv3
4 4 author:Sylvain BERTRAND <sylvain.bertrand AT gmail dot com> author:Sylvain BERTRAND <sylvain.bertrand AT gmail dot com>
5 5 <sylware AT legeek dot net> */ <sylware AT legeek dot net> */
6 #define SRV_SOCK_SETUP_EPOLL_CTL_ADD_FAILURE -1
7 #define CNXS_CONSUME_ACCEPT_GENERIC_FAILURE -2
8 #define CNXS_CONSUME_ACCEPT_WRONG_PEER -3
9 #define SIGS_CONSUME_SIGINFO_READ_FAILURE -4
10 #define MAIN_LOOP_EPOLL_WAIT_GENERIC_FAILURE -5
11 #define MAIN_LOOP_EPOLL_WAIT_SIGS_FD_EVENT_IS_NOT_EPOLLIN -6
12 #define MAIN_LOOP_EPOLL_WAIT_SRV_SOCK_UNEXPECTED_EVENT -7
13 #define MAIN_LOOP_EPOLL_WAIT_SRV_SOCK_UNKNOWN_FAILURE -8
14 #define SRV_SOCK_CREATE_FAILURE -9
15 #define SRV_SOCK_SET_SOCK_OPTION_FAILURE -10
16 #define SRV_SOCK_BIND_FAILURE -11
17 #define SRV_SOCK_LISTEN_FAILURE -12
18 #define EPOLL_SIGS_SETUP_EPOLL_ADD_FAILURE -13
19 #define SIGS_SETUP_BLOCKING_FAILURE -14
20 #define SIGS_SETUP_HANDLERS_FAILURE -15
21 #define SETUP_EPOLL_CREATE_FAILURE -16
22 #define CHROOT_FAILURE -17
23 #define CHDIR_FAILURE -18
24 #define RCV_PAGE_MMAP_FAILURE -19
6 #define SRV_SOCK_SETUP_EPOLL_CTL_ADD_FAILURE 1
7 #define CNXS_CONSUME_ACCEPT_GENERIC_FAILURE 2
8 #define CNXS_CONSUME_ACCEPT_WRONG_PEER 3
9 #define SIGS_CONSUME_SIGINFO_READ_FAILURE 4
10 #define MAIN_LOOP_EPOLL_WAIT_GENERIC_FAILURE 5
11 #define MAIN_LOOP_EPOLL_WAIT_SIGS_FD_EVENT_IS_NOT_EPOLLIN 6
12 #define MAIN_LOOP_EPOLL_WAIT_SRV_SOCK_UNEXPECTED_EVENT 7
13 #define MAIN_LOOP_EPOLL_WAIT_SRV_SOCK_UNKNOWN_FAILURE 8
14 #define SRV_SOCK_CREATE_FAILURE 9
15 #define SRV_SOCK_SET_SOCK_OPTION_FAILURE 10
16 #define SRV_SOCK_BIND_FAILURE 11
17 #define SRV_SOCK_LISTEN_FAILURE 12
18 #define EPOLL_SIGS_SETUP_EPOLL_ADD_FAILURE 13
19 #define SIGS_SETUP_BLOCKING_FAILURE 14
20 #define SIGS_SETUP_HANDLERS_FAILURE 15
21 #define SETUP_EPOLL_CREATE_FAILURE 16
22 #define CHROOT_FAILURE 17
23 #define CHDIR_FAILURE 18
24 #define RCV_PAGE_MMAP_FAILURE 19
25 25 #endif #endif
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