2
0
Fork 0
Commit Graph

51 Commits (5feea39ae63c39c3c4642d9b256002cd87544184)

Author SHA1 Message Date
Stefan Bühler c458377d4a Added mod_fastcgi, some api functions for it, and some new optional compiler warnings (which led to many small changes) 2009-01-01 16:44:42 +01:00
Stefan Bühler 20dfff0663 Cleanup log macros (moved from con to vrequest) 2008-12-30 14:24:33 +01:00
Thomas Porzelt 096e7667be add LIGHTTPD_REVISION define and output for -v when compiling from bzr (only waf for now) 2008-11-25 15:56:12 +01:00
Stefan Bühler 3dceeb5916 Move include files into a separate directory and cleanup include order 2008-11-16 21:33:53 +01:00
Thomas Porzelt 8161336538 add fallback static action if built-in cfg parser used 2008-11-10 22:48:13 +01:00
Thomas Porzelt 1d133a52ed add missing free if -m option specified 2008-11-02 12:58:39 +01:00
Stefan Bühler 649f7baf78 Modify header usage; include all core headers from base.h and forbid direct including of core headers. Move typedefs into separate header. 2008-10-28 22:11:50 +01:00
Thomas Porzelt 59fdb03ee0 implement loading of modules 2008-10-22 16:54:44 +02:00
Thomas Porzelt bbb3c8c69d improved profiler (hashfunc and free-list) 2008-10-18 19:28:37 +02:00
Thomas Porzelt eb73fe1651 changed profiler from glib to own implementation that doesn't leak all the memory... 2008-10-18 00:06:06 +02:00
Thomas Porzelt b5f2442d5f added profile_mem action that dumps memory stats to stdout, enable with LIGHTY_PROFILE_MEM=true env var 2008-10-17 18:08:40 +02:00
Thomas Porzelt 29bf342675 fix erronous free when no configfile specified 2008-10-03 02:27:42 +02:00
Stefan Bühler e1504a252f free value always from the calling function 2008-09-27 12:45:43 +02:00
Thomas Porzelt 5e1ebf3c05 fixed small leak (config_path parameter) 2008-09-27 00:17:19 +02:00
Thomas Porzelt 30bae997eb moved log cleanups to own function; fixed memleaks in config parser and plugin_core 2008-09-27 00:09:12 +02:00
Thomas Porzelt 292d013134 reworked logging functions; added 'log' and 'log.timestamp' options, removed 'log.level' and 'log.target' options 2008-09-24 23:43:22 +02:00
Thomas Porzelt c5fb96870c added event_handler setup; added srv->loop_flags; moved loop initialization to server_loop_init(); added ev_backend_string() to utils.c 2008-08-15 18:21:21 +02:00
Thomas Porzelt b1000d2ca4 config parser intial working version; test action in core plugin with more outpot 2008-08-12 17:09:05 +02:00
Thomas Porzelt b0615d2198 merged from lp 2008-08-09 19:19:18 +02:00
Thomas Porzelt 2d08b0b823 small changes 2008-08-09 01:55:07 +02:00
Stefan Bühler b8e3535546 Enabled options, moved some initializing 2008-08-08 18:49:00 +02:00
Stefan Bühler 1ed36c93b9 Handle write errors (fixes ab keep-alive problems) 2008-08-07 02:25:02 +02:00
Stefan Bühler 2fbc7b1408 Basic connection state machine 2008-08-06 20:46:42 +02:00
Thomas Porzelt 708b5fc223 small fixes; call_setup() now looks in the right hashtable 2008-08-05 19:32:33 +02:00
Thomas Porzelt a603d799f6 config parser changes; removed srv->mutex 2008-08-05 18:10:22 +02:00
Thomas Porzelt c190daa908 merged from lp and enhanced config parser 2008-08-04 23:16:49 +02:00
Thomas Porzelt 5e700e79e1 small config parser and log changes 2008-08-03 22:26:37 +02:00
Thomas Porzelt a9cbec1046 config parser rewritten 2008-08-02 22:56:07 +02:00
Thomas Porzelt 550b4e4858 merge from lp 2008-07-26 00:24:15 +02:00
Stefan Bühler fcf8e455ab Optional lua frontend. 2008-07-25 23:12:40 +02:00
Thomas Porzelt 1d624ff022 merge from lp 2008-07-25 14:15:24 +02:00
Thomas Porzelt 1e9694e4f8 merge from lp 2008-07-25 14:15:16 +02:00
Stefan Bühler c342be6424 New condition structure, some code for lua condition support 2008-07-25 14:09:03 +02:00
Thomas Porzelt 5d2f95cce3 merged from lp 2008-07-24 14:50:45 +02:00
Stefan Bühler 2f7359b14c changed some apis, implemented some todos, added support for lua actions/conditions. 2008-07-24 13:25:40 +02:00
Thomas Porzelt aca2f46bf6 config parser changes 2008-07-23 22:22:33 +02:00
Stefan Bühler 6ee405f3cb Added a "proof of concept" core plugin. 2008-07-23 22:19:23 +02:00
Thomas Porzelt d10756d047 added ifdefs to connection.h and server.h; documented mutexes 2008-07-22 18:58:27 +02:00
Thomas Porzelt 5045a5ee04 made log refcounting, srv->exiting and srv->rotate_logs atomic operations; moved server and connection structs from base.h into server.h and connection.h respectively 2008-07-20 18:28:58 +02:00
Thomas Porzelt e80f384fac splitted log_thread_start() out of log_init() do enable delay of actual writing 2008-07-20 17:12:17 +02:00
Thomas Porzelt a37ec08db5 logging changes 2008-07-20 16:35:04 +02:00
Thomas Porzelt 9ed64ee1fc merged from rev 48 2008-07-19 15:16:21 +02:00
Thomas Porzelt 6c7d8a1165 log fixes 2008-07-19 15:12:32 +02:00
Stefan Bühler 50bb61a041 Require srv for log macros, undo gint64 change for options (as it needs to fit into a pointer, and many other warnings) 2008-07-19 12:56:44 +02:00
Thomas Porzelt 88f6a30274 introduced a logging thread 2008-07-19 00:11:08 +02:00
Thomas Porzelt acf42d82b4 added mutexes for server und connection structs; log_write_() proposal added 2008-07-18 20:23:05 +02:00
Thomas Porzelt 6b8bbdabde no more globals in lighttpd.c 2008-07-18 17:05:51 +02:00
Thomas Porzelt ded5777ea2 no more global var in config parser 2008-07-18 16:52:19 +02:00
Thomas Porzelt aa297fe7b2 added build date info to wscript and -v option 2008-07-18 00:30:02 +02:00
Thomas Porzelt 607e1897ef added command line argument parser 2008-07-17 23:12:52 +02:00