2
0
Fork 0
Commit Graph

149 Commits

Author SHA1 Message Date
Thomas Porzelt 09481f470f changed log_ref to use mutex instead of atomic operations because those could still lead to race conditions 2008-08-06 23:48:39 +02:00
Stefan Bühler 2fbc7b1408 Basic connection state machine 2008-08-06 20:46:42 +02:00
Thomas Porzelt 24d1f61c87 reverted changes from r70 in server.c; enhanced config parser 2008-08-05 21:21:31 +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 c2e6044315 con_get() now increases array size in steps of 10 2008-08-05 18:52:08 +02:00
Thomas Porzelt 1844a53dd3 merged from lp 2008-08-05 18:45:03 +02:00
Thomas Porzelt a603d799f6 config parser changes; removed srv->mutex 2008-08-05 18:10:22 +02:00
Stefan Bühler 0a514f657e server/connection/request functions 2008-08-05 17:08:32 +02:00
Stefan Bühler 0ab75876dc Merge 2008-08-05 00:30:29 +02:00
Stefan Bühler d1c1a1b06f Continue request parser 2008-08-05 00:25:42 +02:00
Thomas Porzelt 4ae1c04b55 merged from lp 2008-08-04 23:17:44 +02:00
Thomas Porzelt c190daa908 merged from lp and enhanced config parser 2008-08-04 23:16:49 +02:00
Stefan Bühler d45b540603 Rename action_setting stuff 2008-08-04 21:28:56 +02:00
Thomas Porzelt 5e700e79e1 small config parser and log changes 2008-08-03 22:26:37 +02:00
Stefan Bühler f86bf3631d Remove action_list struct 2008-08-03 22:20:36 +02:00
Thomas Porzelt a9cbec1046 config parser rewritten 2008-08-02 22:56:07 +02:00
Thomas Porzelt b3767c0190 merged from lp 2008-07-26 14:25:32 +02:00
Thomas Porzelt 28f733a2c5 small config parser changes 2008-07-26 14:25:07 +02:00
Stefan Bühler ff9b6c4461 Implement ip matching for conditions. 2008-07-26 00:42:08 +02:00
Thomas Porzelt 550b4e4858 merge from lp 2008-07-26 00:24:15 +02:00
Thomas Porzelt 4425a0dcd1 merge from lp 2008-07-26 00:24:09 +02:00
Stefan Bühler fcf8e455ab Optional lua frontend. 2008-07-25 23:12:40 +02:00
Thomas Porzelt 8b84f0fa6c merge from lp 2008-07-25 22:44:10 +02:00
Stefan Bühler aff9544b95 Parsers for ipv4/ipv6 für conditions 2008-07-25 22:38:42 +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
Stefan Bühler 0ec2404647 Fix typo in index. 2008-07-24 15:13:10 +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
Stefan Bühler 2537bb9d82 Add call_setup function 2008-07-23 22:33:29 +02:00
Thomas Porzelt 191343333e merge from lp 2008-07-23 22:26:38 +02:00
Stefan Bühler 6bbfe1e43e Added actions and setups to plugin_core.c 2008-07-23 22:25:16 +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
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