2
0
Fork 0
Commit Graph

103 Commits

Author SHA1 Message Date
Stefan Bühler ccd512ca57 [waf] remove waf for now, doesn't work anymore 2013-08-18 18:42:15 +02:00
Stefan Bühler 9aafe5aa2a [fetch] use signed integers for liFetchDatabase refcount 2013-07-20 11:49:49 +02:00
Stefan Bühler d5bb6003dc include lighttpd/settings.h instead of base.h in common source 2013-06-25 16:38:17 +02:00
Stefan Bühler 85fc9dbb6d [mod_gnutls,fetch api] associate sni certs with dh params, fix fetch bug 2013-06-09 18:10:23 +02:00
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
2013-06-08 20:11:23 +02:00
Stefan Bühler 2bcb880dc8 [core] implement generic "fetch" api 2013-06-04 01:12:35 +02:00
Stefan Bühler 11b4bdd8c5 replace unneeded ev_/EV_ references 2013-05-25 14:37:09 +02:00
Stefan Bühler 709296d796 fix bugs and warnings from compiler warnings (memset parameter order, shadow, ...) 2013-05-25 12:59:14 +02:00
Stefan Bühler a937bd437a fix missing li prefixes 2013-05-23 17:56:24 +02:00
Stefan Bühler cfd8955008 [common] implement libev wrapper
* need a way to mark a watcher as "don't keep the loop alive"
2013-05-23 17:56:23 +02:00
Stefan Bühler ff69160c34 [core] Use streams 2013-05-23 12:01:04 +02:00
Stefan Bühler 092a1b0141 fix bugs found with clang-3.3 -fsanitize=address,undefined 2013-05-17 12:35:25 +02:00
Stefan Bühler 178e7c898f [profiler] use g_static_mutex to trigger mutext memory allocation before registering profiler alloc handlers 2012-12-06 15:34:51 +01:00
Stefan Bühler 8d709f8574 [ipv6 parser] Fix type-punned memory access 2012-03-13 00:19:56 +01:00
Stefan Bühler 3972451633 [ip-parser] fix ipv4 netmask for /0, added some unit tests 2012-01-18 10:35:35 +01:00
Stefan Bühler 9bf335c121 [jobqueue] add li_job_stop 2011-12-19 16:42:18 +01:00
Stefan Bühler f7730910ad [utils] handle NULL loop in li_ev_io_* event changing 2011-12-19 16:41:31 +01:00
Thomas Porzelt 2d52ff9170 [mempool] support profiler for mmap allocations. use g_malloc/free instead malloc/free 2011-11-26 16:07:38 +01:00
Thomas Porzelt aeb88422a0 [profiler] export li_profiler_enabled and li_profiler_hashtable_insert/remove. add heap base/break/size to dump output 2011-11-26 15:56:45 +01:00
Stefan Bühler ba3d50ba79 [mempool]: use g_free instead of free in ALLOC mode 2011-11-17 21:26:53 +01:00
Stefan Bühler bd5c2f4ebe move profiler code to common lib 2011-11-17 21:25:45 +01:00
Stefan Bühler 92ca097ed4 [jobqueue] as jobs in the queue could be removed in a callback we can\'t copy the queue to a private one, g_queue_unlink needs the real one 2011-08-09 20:17:13 +02:00
Stefan Bühler 4f377b792c [utils] fix calculation for sockaddr_un struct size 2011-05-02 12:30:39 +02:00
Stefan Bühler 8973c35562 [utils] Fix url decoding for non ascii values (signed char negatives) 2011-03-22 13:34:10 +01:00
Stefan Bühler 366d00328c Fix bug in delayed connection handling, 2nd try 2010-12-27 16:21:13 +01:00
Stefan Bühler 318b7bf041 Fix bug in delayed connection handling 2010-12-27 16:06:34 +01:00
Stefan Bühler 7a67ba94d7 [autotools]: make sure pkg-config m4 is available in autoconf, check for ragel in ./configure 2010-12-07 23:23:10 +01:00
Stefan Bühler 9568d7a41a [autotools] add memcached.c 2010-10-14 13:27:24 +02:00
Stefan Bühler 11fa781f98 Fix some warnings found with clang analyzer 2010-10-07 18:31:21 +02:00
Stefan Bühler cd1a0684c7 [utils] fix fd receiving 2010-10-06 17:15:26 +02:00
Stefan Bühler e3aad8f950 [utils unit-tests] check more details for send/recv fd 2010-10-06 16:48:55 +02:00
Stefan Bühler f521719737 Fix some link problems with -lcrypt 2010-10-06 14:24:01 +02:00
Stefan Bühler 0db6543682 [core] Fix missing parameter in crypt wrapper 2010-10-06 13:51:30 +02:00
Stefan Bühler ab9421a5e1 [core] Provide safe wrapper for crypt if crypt_r is not available 2010-10-06 13:47:48 +02:00
Stefan Bühler 49e0a440ed [utils] remove usage of g_checksum_reset (would need glib >= 2.18) 2010-10-03 17:13:50 +02:00
Stefan Bühler 685973a3ca [mod_auth] Fix authentication (has been "disabled")! Implement apr-md5 crypt, add test cases 2010-10-03 15:53:43 +02:00
Stefan Bühler 81236d35bf [memcached] Accept NULL as data for SET 2010-09-25 23:28:17 +02:00
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