Stefan Bühler
|
6a0e57ec8f
|
[parsers] fix unused variable warnings
Change-Id: Ifc0210235ada102e2dbcba23e1179e87b973510f
|
7 years ago |
Stefan Bühler
|
66bd6b22a2
|
track event "names" for debugging
Change-Id: Ib8f2b589a6087de2355906a87bd2cd0c84bafcba
|
8 years ago |
Stefan Bühler
|
d58d98a62d
|
[value] move value functions that depend on angel / main implementations into separate file, included in the other implementations
this fixes building with --no-undefined. also link with libm in cmake.
|
9 years ago |
Stefan Bühler
|
928d5dcb5e
|
[angel] don't load angel core plugin for shut down, so the core plugin doesn't respawn a worker with default settings
|
9 years ago |
Stefan Bühler
|
c30060e0eb
|
[angel] check setgid/setuid/... return values and abort on failure
|
9 years ago |
Stefan Bühler
|
ed7e70d0b4
|
[angel] fix missing break in switch statement in config parser for casting string to int
|
9 years ago |
Stefan Bühler
|
118844573c
|
[angel] fix memory leak on error in angel config parser
|
9 years ago |
Stefan Bühler
|
17a5168793
|
[core] convert all assert() to LI_FORCE_ASSERT(), and support writing backtraces on fatal errors with libunwind
|
9 years ago |
Stefan Bühler
|
074f53744a
|
[angel] merge allow_listen_* items
* allow_listen_ip ".." -> allow_listen ".."
* allow_listen_unix ".." -> allow_listen "unix:.."
* allow_listen also takes lists of strings
|
9 years ago |
Stefan Bühler
|
22d186cecc
|
[angel] rewrite config handling, rename items, document it
* remove "instance { ... }" wrapping
* use "_" instead of "-"
* modules -> modules_path
* allow_listen { ip "..."; } -> allow_listen_ip "...";
* allow_listen { unix "..."; } -> allow_listen_unix "...";
|
9 years ago |
Stefan Bühler
|
dfaab291d9
|
[angel] rewrite parser, changing syntax (similar to main config)
|
9 years ago |
Stefan Bühler
|
db58828e0b
|
[common] refactor liValue to share most of the code
* removing unused "range" value type in angel
|
9 years ago |
Stefan Bühler
|
d529150a9b
|
[autotools] remove generated ragel parsers from dist
|
9 years ago |
Stefan Bühler
|
ccd512ca57
|
[waf] remove waf for now, doesn't work anymore
|
10 years ago |
Stefan Bühler
|
05e058aa9c
|
fix bugs and warnings reported by clang
* fix memset sizeof() bugs
* fix unaligned memory access
* fix warnings for casts with alignment change
* crypt_r needs _GNU_SOURCE
|
10 years ago |
Stefan Bühler
|
38aad8128e
|
[angel,tests] implement and use "one-shot" option to not restart crashed workers
|
10 years ago |
Stefan Bühler
|
7f61ca9dba
|
disable some debug messages
|
10 years ago |
Stefan Bühler
|
31e581456d
|
[core] use TCP_FASTOPEN on listening sockets if available
|
10 years ago |
Stefan Bühler
|
709296d796
|
fix bugs and warnings from compiler warnings (memset parameter order, shadow, ...)
|
10 years ago |
Stefan Bühler
|
cfd8955008
|
[common] implement libev wrapper
* need a way to mark a watcher as "don't keep the loop alive"
|
10 years ago |
Stefan Bühler
|
9c80becca2
|
[angel] Remove unsupported pid-file option
|
12 years ago |
Stefan Bühler
|
7a67ba94d7
|
[autotools]: make sure pkg-config m4 is available in autoconf, check for ragel in ./configure
|
12 years ago |
Stefan Bühler
|
b432e35eeb
|
[angel] Remove "-n" option from angel and docs (wasn't imlemented)
|
13 years ago |
Stefan Bühler
|
c35cf21c52
|
[log] Add basic api to open log files via angel
|
13 years ago |
Stefan Bühler
|
0247ee879f
|
[angel/core]: remove old unix socket before binding
|
13 years ago |
Stefan Bühler
|
876261c62c
|
[core/angel]: Use strict ip matching (family must match, no IPv4-mapped IPv6)
|
13 years ago |
Stefan Bühler
|
14660bee4f
|
[core/angel]: support unix socket listen
|
13 years ago |
Stefan Bühler
|
004e70479e
|
[angel]: fix default allow-listen port detection
|
13 years ago |
Stefan Bühler
|
2ad699f56e
|
[angel] fix segfault if no user was specified
|
13 years ago |
Stefan Bühler
|
b5eb16006c
|
[angel]: fix default worker path
|
13 years ago |
Stefan Bühler
|
1fb0e6db2c
|
Rename angel config "listen" to "allow-listen"
|
13 years ago |
Stefan Bühler
|
c3164aba8b
|
Move binary names: angel becomes lighttpd2, worker lighttpd2-worker
|
13 years ago |
Thomas Porzelt
|
86e039e6d2
|
[core] Add --module-resident commandline parameter to prevent module unloading. Useful for valgrind or tcmalloc
|
13 years ago |
Stefan Bühler
|
c89c194deb
|
Fix module path handling in angel
|
13 years ago |
Stefan Bühler
|
cdb615293c
|
[autobuild] Fix dependency problem with automake (automake doesn't like it if ../dir/ is cwd)
|
13 years ago |
Stefan Bühler
|
edd74a0e3c
|
Rename lighttpd to lighttpd2
|
13 years ago |
Stefan Bühler
|
4fd27aca81
|
autotools: Fix linking
|
13 years ago |
Stefan Bühler
|
79ae4427f3
|
autotools: install angel in sbin, support pkglibdir configuration
|
13 years ago |
Stefan Bühler
|
63eadd22fa
|
Fix buildsystems
|
13 years ago |
Stefan Bühler
|
4d257fd79c
|
angel: Fix detecting failed replace, log successful instance replace
|
13 years ago |
Stefan Bühler
|
56f01bbc7f
|
angel: listen: Use ntohs for port in debug output
|
14 years ago |
Stefan Bühler
|
b2f2863af4
|
angel: Add log output for SIGHUP instance restart
|
14 years ago |
Stefan Bühler
|
d949d65110
|
Add signal number to log
|
14 years ago |
Stefan Bühler
|
0d4077652f
|
angel: Fix exec problems (NULL-terminate environment)
|
14 years ago |
Stefan Bühler
|
92904247d6
|
angel: support for restaring instance with SIGHUP
|
14 years ago |
Stefan Bühler
|
ba40590df6
|
angel: use rlim_core/rlim_nofile options
|
14 years ago |
Stefan Bühler
|
a151eeac2f
|
Prefix li_ cleanup, verified with nm -g --defined-only
|
14 years ago |
Stefan Bühler
|
8a180de100
|
fix limits: call setrlimit in the child
|
14 years ago |
Stefan Bühler
|
e3393ce2f5
|
angel: add support for setting RLIMIT_CORE / RLIMIT_NOFILE
|
14 years ago |
Stefan Bühler
|
f9efd8a5ab
|
Fix problem with memcpy-macros
|
14 years ago |