2
0
Fork 0
Commit Graph

45 Commits

Author SHA1 Message Date
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
Stefan Bühler 56ff7ca32a angel/lighty now synchronize the server state 2009-08-30 20:43:13 +02:00
Thomas Porzelt de499089ff [waf] Add missing HAVE_CONFIG_H=1 define for common lib 2009-08-20 17:48:37 +02:00
Thomas Porzelt 5c699f571a [waf] Fix includes so config.h gets found 2009-08-19 13:17:18 +02:00
Thomas Porzelt 8b7ea63cf9 [waf] Reenable waf and update to 1.5.8 2009-08-18 22:57:23 +02:00
Thomas Porzelt 86ebb4c7f0 [core] Add li_querystring_find() function to utils 2009-08-13 18:38:30 +02:00
Thomas Porzelt 6cb5af487f [core] Add li-prefix to structs, enums and function names for encoding helpers 2009-08-03 20:33:17 +02:00
Stefan Bühler df96167362 Add automake 2009-07-31 20:36:37 +02:00
Stefan Bühler 0087b8cfc2 Better error message if spawn failed 2009-07-26 16:18:47 +02:00
Stefan Bühler b364b09790 Fix some error reporting in angel 2009-07-26 15:32:14 +02:00
Stefan Bühler 2f6fe68a75 Cleanup some debug logging 2009-07-26 15:10:14 +02:00
Stefan Bühler 594987c29e Add li_ev_safe_ref_and_stop macro and use it 2009-07-26 15:00:53 +02:00
Stefan Bühler e02d2efea1 Remove path in angel_proc logging 2009-07-25 18:13:16 +02:00
Stefan Bühler ab1387d4ba Move and add some common log helpers to utils 2009-07-17 12:19:25 +02:00
Stefan Bühler b187c4f3c5 Fix missing newlines at end of files 2009-07-16 22:17:14 +02:00
Thomas Porzelt 952a28d176 Fix a null-pointer dereference and some other small things reported by clang analyzer 2009-07-16 12:57:11 +02:00
Stefan Bühler 540ff7db02 Split sources into subdirs 2009-07-15 11:57:52 +02:00