Stefan Bühler
1790afc37f
[radix]: Fix wrong var in macro, add test cases
13 years ago
Thomas Porzelt
2a04983b9d
[waitqueue] Add 'length' struct member, remove li_waitqueue_length() function
13 years ago
Stefan Bühler
1567177150
[tasklet]: fix mem leak
13 years ago
Stefan Bühler
be65208143
waitqueue: modify callback
13 years ago
Stefan Bühler
7d938e48e3
[log] Fix prepare handler
13 years ago
Stefan Bühler
c3dc0d8d7e
[common]: Add generic jobqueue
13 years ago
Stefan Bühler
8587598a66
[core] add tasklets: jobs which use blocking code
13 years ago
Stefan Bühler
0047fe22fa
radix: fix li_radixtree_new prototype
13 years ago
Stefan Bühler
a2ed50dedd
Optimize some socket initialization handling
13 years ago
Thomas Porzelt
15c89fc606
[core] Fix compilation on osx and freebsd+waf
13 years ago
Thomas Porzelt
20c3e7d6ad
[core] Add li_memory_usage(), clean up some old sys-* files
13 years ago
Stefan Bühler
fa3c81bd11
[mod_memcached]: less log spam, fix another endless loop
13 years ago
Stefan Bühler
831cca1c59
[mod_memcached]: try to fail quietly after connection resets until the next connect
13 years ago
Stefan Bühler
d498a9fee9
memcached.c: fix endless loops
13 years ago
Stefan Bühler
0b5a67b2a6
memcached.c: fix GET response parsing
13 years ago
Stefan Bühler
e10df4ed77
memcached.c: fix wrong parameter (use real enum value)
13 years ago
Stefan Bühler
acf6263448
memcached.c: clear error (fixing another memleak) on free
13 years ago
Stefan Bühler
2d44ae1ea9
memcached.c: Fix mem leaks and ev_io stop/start
13 years ago
Thomas Porzelt
ddc65cccc0
[waf] Add memcached.c to src/commin/wscript
13 years ago
Stefan Bühler
ca315bee89
[mod_memcached]: Implement memcached.store
13 years ago
Stefan Bühler
c0128fea48
[mod_memcached] Initial mod_memcached
13 years ago
Stefan Bühler
8fa282ffaf
Fix some queue handling bugs in angel connection
13 years ago
Stefan Bühler
26ebaa3bd3
Add a new liBuffer alloc function for long-term buffers
13 years ago
Thomas Porzelt
0084f21174
[core] Update queue->delay in li_waitqueue_set_delay(), not only ev timer
13 years ago
Thomas Porzelt
b3f8b8d62f
[core] Add li_waitqueue_set_delay() function
13 years ago
Thomas Porzelt
86e039e6d2
[core] Add --module-resident commandline parameter to prevent module unloading. Useful for valgrind or tcmalloc
13 years ago
Thomas Porzelt
32cb017ba6
[core] Zero timestamps when removing element from waitqueue
13 years ago
Stefan Bühler
63ed53e31a
Fix casts in utils.c
13 years ago
Stefan Bühler
7a63f69133
Add li_sockaddr_dup
13 years ago
Stefan Bühler
a545ef6e75
Add mempool_align_page_size implementation for MEMPOOL_MALLOC fallback
13 years ago
Stefan Bühler
faf2985a79
Use struct sockaddr_storage (in liSockAddr) as base for getsockname/getpeername
13 years ago
Stefan Bühler
4485ea7563
Fix segfault if trying to convert NULL address to string
...
This doesn't workaround the freebsd getsockname / getpeername bug,
but it shouldn't crash anymore.
http://www.freebsd.org/cgi/query-pr.cgi?pr=142717
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
63eadd22fa
Fix buildsystems
13 years ago
Stefan Bühler
931e8fea0c
Make radix tree generic (length independent), use it for mod_access ipv4/ipv6
13 years ago
Stefan Bühler
0c3ca6b13b
add liBuffer: a reference-counted memory chunk (using mempool) for basic network data
13 years ago
Stefan Bühler
f9b12036fe
Add mempool allocator to avoid fragmentation
13 years ago
Stefan Bühler
1ac09ac2d1
Use relative timestamp for angel call timeouts, increase angel-listen timeout.
...
* While lighty runs the initialization, the difference between ev_now()
and ev_time() might be bigger than the timeout - which leads to an
immediate timeout.
14 years ago
Stefan Bühler
92904247d6
angel: support for restaring instance with SIGHUP
14 years ago
Stefan Bühler
a25d0f81d0
utils: added some hash/equal functions
14 years ago
Stefan Bühler
0fe57dc215
mod_auth: add htdigest and htpasswd (no apr-md5) backend
14 years ago
Stefan Bühler
a151eeac2f
Prefix li_ cleanup, verified with nm -g --defined-only
14 years ago
Stefan Bühler
e71b64f41f
Add a li_const_gstring method to create fake GStrings; make some GString* parameters const
14 years ago
Stefan Bühler
4653900eca
Fix stat-cache ref counting
14 years ago
Stefan Bühler
8ac057d3d5
angel: Add wrapper, env and copy-env to instance config
14 years ago
Thomas Porzelt
a94fee7b76
[waf] Add new *_lua.c files
14 years ago
Thomas Porzelt
21cfd4ab71
[waf] Fix double linkage of *_lua.c in some commandline usage cases
14 years ago
Stefan Bühler
b61013d9e0
Fix automake to build shared libraries
14 years ago
Stefan Bühler
007e5e040c
Add listen mask checks to angel
14 years ago