Commits
- Commit:
509d0509a50883a6f8407b63774f40dd1e41dadf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
implement `listen on'
Listening by default on all the addresses is so bad I don't know
why I haven't changed this before. Anyway.
Add a `listen on $hostname port $port' syntax to the config file
and deprecate the old "port" and "ipv6" global setting. Still try
to honour them when no "listen on" directive is used for backward
compatibily, but this will go away in the next next version hopefully.
At the moment the `listen on' in server context don't filter the
host, i.e. one can still reach a host from a address not specified
in the corresponding `liste on', this will be added later.
- Commit:
37df23d183de23b74f8a026977b8210dc22701a6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename client->addr to raddr (remote address) and keep original length
- Commit:
ab55c7815e8e749e775d95c26f0e217744949285
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typo; use the `l' variable not `len'
- Commit:
f29d705e04b5fdb74980622803ddff3adb9fb09d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add missing -include of *.d files
- Commit:
abc599e0317f564fcbbb7fe04a4f1a9dc0ce0036
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop debug log
- Commit:
55b74a9691874e406aeaf1f62b27127ee9a04583
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove the new_*() declarations that were moved to utils.c
- Commit:
fc2d207c79125ffd80a6819b50981d9401232660
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use host->domain to report errors, $2 is free'd
- Commit:
c5ded53a8e37b5812d3648c4247ba9f4cc6f2028
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sort pledge promises as per pledge(2)
- Commit:
b692d8bd5b24045832657a01b7ad6fa15793ef68
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop `proc' pledge in the main process
unlike the name might suggest, proc_kill() doesn't use kill(2) so
proc is not needed.
- Commit:
5dad390015970eb1e35f6e6fd9f8f28bf6e6db0e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add `release' target
- Commit:
1959cda3d8cb21be770535e48529b7bdfa6e240d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
more avoiding of void pointer arithmetics
This time with a temporary variable to avoid not to trigger
-Wpointer-sign, sigh.
- Commit:
b90faa1605c46f14747742a30cf10721515e0cac
- From:
- Omar Polo <op@omarpolo.com>
- Date:
simplify check
brought to my attention by gcc who isn't smart enough to figure out
that `ret' is always set.
- Commit:
cf5cf697a89faf792c8e7214b6a6b148d6bfe7d8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
enable -Werror on CI
-Wno-deprecated-declarations is needed because of OpenSSL 3 (and macos
stupidly deprecating daemon(3) in favour of that trash of posix_spawn.)
- Commit:
7604fc903a0eda71255ea8f878a615ac216b7e9a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop questionable #warning
- Commit:
1610f9541d742906f7f683e9ad1ad2a29225ae8a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rework the configure script
now it resembles less oconfigure and more the configure scripts I'm
using in my recent projects. I'd argue it's more easy to use it.