FreeBSD build update
- build fix with SOL_TCP constant definition.
- build update to support cpu affinity.
Hi.A few generic notes:
- please upload patches with proper filenames (.patch extension helps the mime detection)
- please split patches into logical changes; e.g. don't merge SOL_TCP and cpu affinity
I refactored the affinity handling a bit, then added the FreeBSD handling on top. Also instead of
#define SOL_TCP I just switched to
I'm also quite sure the affinity handling shouldn't go for the process, but just for the thread, and you didn't enabled FreeBSD in
I pushed my changes to https://git.lighttpd.net/lighttpd/lighttpd2/src/branch/personal/stbuehler/freebsd-3071 - you can take a look in a shallow clone like this (or any other way you prefer):
git clone --depth 4 -b personal/stbuehler/freebsd-3071 https://git.lighttpd.net/lighttpd/lighttpd2
I might just merge them some day, but a positive feedback would help.
Also available in: Atom