2
0
Fork 0
Commit Graph

116 Commits

Author SHA1 Message Date
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
Stefan Bühler 57701f997d Added "actions" and "setups" to the plugin api 2008-07-23 21:34:19 +02:00
Stefan Bühler 54ac4151cf Remove include "ev.h" (gets included in settings.h) 2008-07-23 21:33:59 +02:00
Stefan Bühler e44aea16ba Implement plugin registration 2008-07-23 18:01:19 +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 9858f4ee66 exit on log with level LOG_LEVEL_ERROR 2008-07-22 16:00:31 +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 f5fdc41644 changed logging to use references 2008-07-19 22:13:32 +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
Stefan Bühler b871c6cafa Fix previous commit 2008-07-19 12:37:47 +02:00
Stefan Bühler 8c8b77bac2 redo action_new_setting 2008-07-19 12:23:32 +02:00
Thomas Porzelt 49dfcddc2a added convenience makros for logging 2008-07-19 01:33:12 +02:00
Thomas Porzelt a662b01aca removed now unneeded mutex in log_t 2008-07-19 00:51:17 +02:00
Thomas Porzelt 4880a44903 introduced log levels 2008-07-19 00:38:33 +02:00
Thomas Porzelt 88f6a30274 introduced a logging thread 2008-07-19 00:11:08 +02:00
Thomas Porzelt b2697e7cb8 log_write_() improved 2008-07-18 22:16:30 +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
Thomas Porzelt 5cee4c1fa4 added lighttpd.c, modified action und option stuff 2008-07-17 21:39:29 +02:00
Thomas Porzelt 5cc704884a comp_operator_t for config parser too 2008-07-17 19:38:54 +02:00
Thomas Porzelt 8468ced4dd merged from lp 2008-07-17 19:35:03 +02:00
Thomas Porzelt 781dfd07cf config_cond_t renamed to comp_operator_t 2008-07-17 19:32:11 +02:00
Stefan Bühler b33450ff28 Separate module from plugin, add version to server struct. 2008-07-17 18:04:16 +02:00
Stefan Bühler 906cca0551 Include libev in settings.h 2008-07-17 17:36:46 +02:00
Stefan Bühler a6c4a50319 Add libev and fix wscripts 2008-07-17 17:35:50 +02:00
Stefan Bühler 33dd2691c1 Upgrade to new waf, run ragel in './waf dist' and make ragel optional if the needed files are already generated. 2008-07-15 22:12:33 +02:00
Stefan Bühler 6a477c5f7f Fix macro redefine 2008-07-15 22:12:19 +02:00
Stefan Bühler 468b5afc15 Fix cyclic header dependency problem 2008-07-15 22:11:53 +02:00
Thomas Porzelt 5c472203d7 removed some option functions 2008-07-08 23:18:52 +02:00
Thomas Porzelt 4488ebaca6 options stuff 2008-07-08 22:38:22 +02:00
Thomas Porzelt 16f2068fad options stuff 2008-07-08 21:32:51 +02:00
Stefan Bühler 569b139bd7 only one setting per action 2008-07-08 21:29:41 +02:00
Stefan Bühler fccd44f2ad option/action/plugin 2008-07-08 21:29:02 +02:00
Thomas Porzelt b74a2ba5d3 missing brace... 2008-07-08 19:47:10 +02:00
Thomas Porzelt 04dea42892 free functions for list and hash in option_free() 2008-07-08 19:44:55 +02:00
Thomas Porzelt 0250cbc1df path and header fix for tests.c 2008-07-08 19:23:40 +02:00
Thomas Porzelt 41a14f5b44 path and header fix for tests.c 2008-07-08 19:23:12 +02:00
Thomas Porzelt 7e0d56de9c action_list_new() small fix 2008-07-08 19:15:53 +02:00
Thomas Porzelt cfcdc075d7 config parser merge 2008-07-08 18:52:55 +02:00
Thomas Porzelt a449c4e842 action_list_new() added 2008-07-08 18:52:14 +02:00
Thomas Porzelt 8eb6670388 config parser 2008-07-08 18:51:03 +02:00
Stefan Bühler cbf88bb3ee Fix request and parser, added simple request test. 2008-07-01 22:07:54 +02:00
Stefan Bühler a1414bce60 Fix chunkiter_read (do not require open file for mem chunk) 2008-07-01 22:07:14 +02:00
Stefan Bühler 18413d698a Renamed chunk sources, added request parser, header management, test file. 2008-07-01 20:56:59 +02:00
Stefan Bühler 503e8d7859 Basic ragel suport 2008-06-30 16:24:29 +02:00
Thomas Porzelt 3c05dca97a unindent switches 2008-06-30 14:34:37 +02:00
Thomas Porzelt e8fd628b00 switch defaults removed 2008-06-30 14:01:53 +02:00
Thomas Porzelt b9c8c08e98 condition changes 2008-06-30 13:38:52 +02:00
Stefan Bühler c612995cfe Request/condition 2008-06-30 12:25:01 +02:00
Stefan Bühler 777232ab5d Condition 2008-06-29 17:48:28 +02:00
Thomas Porzelt 75c751ce6e actions stuff 2008-06-29 16:21:50 +02:00
Thomas Porzelt b080f7a2b4 actions stuff 2008-06-29 16:10:00 +02:00
Thomas Porzelt 6822fc7d24 actions.h fix 2008-06-29 13:55:11 +02:00
Thomas Porzelt 586ac096f4 addition to actions.h 2008-06-29 13:39:09 +02:00
Thomas Porzelt 5c8def1f2c actions.h added 2008-06-29 13:04:06 +02:00
Thomas Porzelt 67ee0333ab test commit 2008-06-29 11:35:43 +02:00
Stefan Bühler 031b7bf7df 2nd commit ;-) 2008-06-28 20:37:28 +02:00
Stefan Bühler 9372e41393 Initial commit 2008-06-24 21:19:20 +02:00