2
0
Fork 0
Commit Graph

66 Commits

Author SHA1 Message Date
Stefan Bühler 1790afc37f [radix]: Fix wrong var in macro, add test cases 2010-09-20 22:54:38 +02:00
Thomas Porzelt 2a04983b9d [waitqueue] Add 'length' struct member, remove li_waitqueue_length() function 2010-09-12 18:27:09 +02:00
Stefan Bühler 1567177150 [tasklet]: fix mem leak 2010-09-12 17:33:05 +02:00
Stefan Bühler be65208143 waitqueue: modify callback 2010-09-12 14:19:25 +02:00
Stefan Bühler 7d938e48e3 [log] Fix prepare handler 2010-09-05 14:19:27 +02:00
Stefan Bühler c3dc0d8d7e [common]: Add generic jobqueue 2010-09-05 13:39:22 +02:00
Stefan Bühler 8587598a66 [core] add tasklets: jobs which use blocking code 2010-08-25 15:56:11 +02:00
Stefan Bühler 0047fe22fa radix: fix li_radixtree_new prototype 2010-08-23 16:53:03 +02:00
Stefan Bühler a2ed50dedd Optimize some socket initialization handling 2010-08-11 12:56:01 +02:00
Thomas Porzelt 15c89fc606 [core] Fix compilation on osx and freebsd+waf 2010-07-31 15:51:10 +02:00
Thomas Porzelt 20c3e7d6ad [core] Add li_memory_usage(), clean up some old sys-* files 2010-07-31 15:16:29 +02:00
Stefan Bühler fa3c81bd11 [mod_memcached]: less log spam, fix another endless loop 2010-07-18 21:45:19 +02:00
Stefan Bühler 831cca1c59 [mod_memcached]: try to fail quietly after connection resets until the next connect 2010-07-18 21:35:55 +02:00
Stefan Bühler d498a9fee9 memcached.c: fix endless loops 2010-07-18 21:22:45 +02:00
Stefan Bühler 0b5a67b2a6 memcached.c: fix GET response parsing 2010-07-18 20:43:04 +02:00
Stefan Bühler e10df4ed77 memcached.c: fix wrong parameter (use real enum value) 2010-07-18 20:30:06 +02:00
Stefan Bühler acf6263448 memcached.c: clear error (fixing another memleak) on free 2010-07-18 18:08:01 +02:00
Stefan Bühler 2d44ae1ea9 memcached.c: Fix mem leaks and ev_io stop/start 2010-07-18 17:19:43 +02:00
Thomas Porzelt ddc65cccc0 [waf] Add memcached.c to src/commin/wscript 2010-07-17 23:43:52 +02:00
Stefan Bühler ca315bee89 [mod_memcached]: Implement memcached.store 2010-07-17 22:41:21 +02:00
Stefan Bühler c0128fea48 [mod_memcached] Initial mod_memcached 2010-07-17 15:23:54 +02:00
Stefan Bühler 8fa282ffaf Fix some queue handling bugs in angel connection 2010-05-13 12:17:32 +02:00
Stefan Bühler 26ebaa3bd3 Add a new liBuffer alloc function for long-term buffers 2010-05-13 12:17:32 +02:00
Thomas Porzelt 0084f21174 [core] Update queue->delay in li_waitqueue_set_delay(), not only ev timer 2010-05-10 22:08:53 +02:00
Thomas Porzelt b3f8b8d62f [core] Add li_waitqueue_set_delay() function 2010-05-10 21:42:06 +02:00
Thomas Porzelt 86e039e6d2 [core] Add --module-resident commandline parameter to prevent module unloading. Useful for valgrind or tcmalloc 2010-05-06 22:42:47 +02:00
Thomas Porzelt 32cb017ba6 [core] Zero timestamps when removing element from waitqueue 2010-04-25 15:35:59 +02:00
Stefan Bühler 63ed53e31a Fix casts in utils.c 2010-02-14 21:04:52 +01:00
Stefan Bühler 7a63f69133 Add li_sockaddr_dup 2010-02-09 22:36:47 +01:00
Stefan Bühler a545ef6e75 Add mempool_align_page_size implementation for MEMPOOL_MALLOC fallback 2010-01-24 11:52:38 +01:00
Stefan Bühler faf2985a79 Use struct sockaddr_storage (in liSockAddr) as base for getsockname/getpeername 2010-01-24 11:47:58 +01:00
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
2010-01-11 20:56:51 +01:00
Stefan Bühler edd74a0e3c Rename lighttpd to lighttpd2 2010-01-03 19:53:48 +01:00
Stefan Bühler 4fd27aca81 autotools: Fix linking 2009-12-25 22:38:52 +01:00
Stefan Bühler 63eadd22fa Fix buildsystems 2009-12-21 21:07:27 +01:00
Stefan Bühler 931e8fea0c Make radix tree generic (length independent), use it for mod_access ipv4/ipv6 2009-12-14 14:29:59 +01:00
Stefan Bühler 0c3ca6b13b add liBuffer: a reference-counted memory chunk (using mempool) for basic network data 2009-11-29 17:54:01 +01:00
Stefan Bühler f9b12036fe Add mempool allocator to avoid fragmentation 2009-11-29 15:22:57 +01:00
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.
2009-11-22 14:48:18 +01:00
Stefan Bühler 92904247d6 angel: support for restaring instance with SIGHUP 2009-10-17 23:50:41 +02:00
Stefan Bühler a25d0f81d0 utils: added some hash/equal functions 2009-10-17 23:50:21 +02:00
Stefan Bühler 0fe57dc215 mod_auth: add htdigest and htpasswd (no apr-md5) backend 2009-10-10 19:27:42 +02:00
Stefan Bühler a151eeac2f Prefix li_ cleanup, verified with nm -g --defined-only 2009-10-09 15:38:12 +02:00
Stefan Bühler e71b64f41f Add a li_const_gstring method to create fake GStrings; make some GString* parameters const 2009-10-08 14:33:47 +02:00
Stefan Bühler 4653900eca Fix stat-cache ref counting 2009-10-05 19:41:48 +02:00
Stefan Bühler 8ac057d3d5 angel: Add wrapper, env and copy-env to instance config 2009-10-03 21:14:34 +02:00
Thomas Porzelt a94fee7b76 [waf] Add new *_lua.c files 2009-09-13 21:54:38 +02:00
Thomas Porzelt 21cfd4ab71 [waf] Fix double linkage of *_lua.c in some commandline usage cases 2009-09-09 10:55:03 +02:00
Stefan Bühler b61013d9e0 Fix automake to build shared libraries 2009-09-09 00:12:34 +02:00
Stefan Bühler 007e5e040c Add listen mask checks to angel 2009-09-04 15:56:52 +02:00