2
0
Fork 0
Commit Graph

119 Commits

Author SHA1 Message Date
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 b364b09790 Fix some error reporting in angel 2009-07-26 15:32:14 +02:00
Stefan Bühler 534a0f2d3a New instance state machine 2009-07-26 15:01:08 +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 30f804170c Fix angel_log.h macros 2009-07-26 15:00:34 +02:00
Stefan Bühler baa78b1ebb Handle multi-lines for error-pipe logging 2009-07-25 21:39:13 +02:00
Stefan Bühler e02d2efea1 Remove path in angel_proc logging 2009-07-25 18:13:16 +02:00
Stefan Bühler 766fcd4bfc Add liProc and liErrorPipe for angel 2009-07-25 17:37:45 +02:00
Thomas Porzelt e838c9b3cf [core] Add liTimeFunc (gmtime_r, localtime_r) parameter to li_worker_current_timestamp() 2009-07-17 13:04:01 +02:00
Stefan Bühler 75237dda62 Add GError log writing 2009-07-17 12:19:57 +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
Stefan Bühler a061745193 Fix bugs found with the static clang analyzer (http://clang-analyzer.llvm.org/) 2009-07-16 22:13:40 +02:00
Stefan Bühler f4f2bd1f38 Poison non-thread-safe functions and fix errors 2009-07-16 22:10:41 +02:00
Stefan Bühler 1ce3b7fa24 Remove pcre dependencies (we use the glib wrappers) 2009-07-12 12:29:14 +02:00
Stefan Bühler 282a2d1b4a Prefix LI_API functions with "li_" 2009-07-09 22:17:24 +02:00
Stefan Bühler 99b203e3d8 Prefix typenames, enums and some macros with "li" and "LI_"; CamelCase TypeNames 2009-07-08 21:06:07 +02:00
Stefan Bühler f8be820c36 Big lighttpd-angel update; still not complete, but supports fork+exec+setuid/gid+listen (no checks in listen yet) 2009-07-07 22:40:44 +02:00
Stefan Bühler d30108b967 Make radix implementation independent of lighty 2009-07-07 18:45:47 +02:00
Stefan Bühler 75505f73e1 Add more angel connection handling code (and helper functions) 2009-06-23 23:40:13 +02:00
Stefan Bühler 40fbc9c8b7 Fixed the splitting from previous commit and splitted the ip parsers from condition handling 2009-06-17 10:59:34 +02:00
Stefan Bühler d64f5d4788 Split lighttpd specific functions from utils into lighttpd-glue. 2009-06-16 23:16:07 +02:00
Stefan Bühler c2ce9c4f53 Fix encoding functions (use _append for the append version); do not encode characters >= 0x80 for html. 2009-06-08 12:43:33 +02:00
Thomas Porzelt ff39991ed0 [core] Add support for regex conditionals 2009-06-05 19:07:48 +02:00
Thomas Porzelt fd8f6ed60f [core] Change cond_lvalue_form_string() and move it from utils.c to condition.c 2009-06-01 17:58:48 +02:00
Thomas Porzelt 3efaf40853 [core] Add cond_lvalue_from_str() to utils 2009-06-01 16:15:38 +02:00
Thomas Porzelt 16097f84ea [core] Fix erronous invisible char in settings.h 2009-05-31 13:57:17 +02:00
Thomas Porzelt 451cdd1579 [core] Add implementation of 32bit radix trees (radix.{h.c}) 2009-05-29 15:03:19 +02:00
Thomas Porzelt 0e001f21e5 Fix two small typos in idlist.h comments 2009-05-13 12:56:46 +02:00
Stefan Bühler 7c27d1b342 Added "idlist": maange a list of used ids 2009-05-13 12:33:11 +02:00
Stefan Bühler 48bf0071e4 [angel] Add basic module/plugin support
* renamed some module functions
2009-04-24 10:03:04 +02:00
Thomas Porzelt 087f06a07d Fix singness warnings 2009-04-17 22:39:16 +02:00
Stefan Bühler c8d26383c3 Fix shadow warnings 2009-04-17 22:24:29 +02:00
Stefan Bühler 3a1af99500 Include <stdio.h> and <stdlib.h> in settings.h for everyone. 2009-04-17 22:14:20 +02:00
Stefan Bühler dfb1db14d7 Use pointer-sign warning in cmake und fix many of them. 2009-04-17 21:53:17 +02:00
Stefan Bühler 0ec334c887 Killed sys-strings.h (replaced with glib functions) 2009-04-17 21:51:39 +02:00
Stefan Bühler 72136b4d03 angel: some basic structs, code not ready yet (config parser "works") 2009-04-17 18:16:50 +02:00
Thomas Porzelt 383fa6a4f5 - introduce throttling via pools, rework throttling by connection
- new actions: 'throttle_pool', 'throttle_connection' and 'status'
- don't start waitqueue timer in waitqueue_init(); start/stop timer on demand
- new parameter for network_write(): write_max
- move stats and timeout handling from network_write/read() to connection_cb()
2009-04-16 17:02:53 +02:00
Stefan Bühler 595ce1fe13 Add wrk in vrequest, s/vr->con->wrk/vr->wrk/, removed some other (broken) usages of vr->con 2009-04-15 12:34:06 +02:00
Stefan Bühler 4e04ac6b8b cmake: use builtin macros for build date 2009-04-15 11:39:21 +02:00
Stefan Bühler 7aaa764f49 Added vrequest_joblist_append_async (with a vrequest-reference handling) 2009-04-14 18:18:25 +02:00
Stefan Bühler 194db07279 Use GByteArray in mod_fastcgi 2009-04-03 14:36:41 +02:00
Stefan Bühler 611d7dcac3 Recode the sockaddr handling, fixing some bugs 2009-04-03 14:29:55 +02:00
Stefan Bühler 691939dbdc Rename MEM_CHUNK to STRING_CHUNK and add new MEM_CHUNK with GByteArray as content
- GByteArray doesn't have a terminating zero, so we save memory; especially
   if the real size is 2^n, GString would allocate 2^(n+1) bytes.
2009-04-02 22:35:56 +02:00
Thomas Porzelt ab9a616f5d optimize ram usage by freeing unused connections 2009-03-28 03:37:41 +01:00
Thomas Porzelt ddb0448a96 rework stat_cache 2009-03-26 23:05:17 +01:00
Stefan Bühler a0d963ef11 Fix printf checks with glib macro 2009-03-22 14:44:50 +01:00
Stefan Bühler 384bab3719 Forgot source/header for etag.{c,h} 2009-03-17 18:22:59 +01:00