0fe9176d6fSplitted worker from server; removed "server *srv" from most function which also have "connection *con"Stefan Bühler2008-09-08 02:20:55 +02:00
dbd9218150Silence strict-alias warning again with redefining some macrosStefan Bühler2008-09-07 15:33:11 +02:00
ecd1082378Remove "my_ev_init" as we now have -fno-strict-aliasing; workaround was stupid anyway. Move static ev_signal vars into server struct.Stefan Bühler2008-09-02 20:30:39 +02:00
90e566be80Add --debug configure option to waf; if not given use -O2. Use -fno-strict-aliasing.Stefan Bühler2008-09-02 20:29:21 +02:00
e15193447dFix cleanup of target_else in conditional action, added support for else branch in "when" action.Stefan Bühler2008-08-27 16:39:30 +02:00
ead4172d75fixed else/elseif in config parser
Thomas Porzelt
2008-08-27 00:58:00 +02:00
cf51355d1cfixed else/elseif in config parser
Thomas Porzelt
2008-08-27 00:57:51 +02:00
b003b20c3aadded else/elseif to config parser; uses new target_else member of action->value.condition
Thomas Porzelt
2008-08-26 23:54:13 +02:00
1371d4e49fadded else/elseif to config parser; uses new target_else member of action->value.condition
Thomas Porzelt
2008-08-26 23:53:54 +02:00
a211f528fcchanged option default value assignment to callbacks
Thomas Porzelt
2008-08-22 20:51:39 +02:00
8649ce6cfechanged option default value assignment to callbacks
Thomas Porzelt
2008-08-22 20:51:25 +02:00
93618313e1merged from lp
Thomas Porzelt
2008-08-22 20:01:37 +02:00
486f64bd7dAdded keep-alive and dead state for connection, added timeout for keep-alive. With "server.max-keep-alive-idle" = 5 (default) you get O(1), other values need O(log n)Stefan Bühler2008-08-17 18:24:09 +02:00
978eb166d1added option_copy(); fixed variable statements in config parser where assignments without parser func lead to OPTION_NONE options
Thomas Porzelt
2008-08-17 02:29:05 +02:00
d3547c5318added option_copy(); fixed variable statements in config parser where assignments without parser func lead to OPTION_NONE options
Thomas Porzelt
2008-08-17 02:28:57 +02:00
9775213cb9added 'blank' function that returns a blank page to plugin_core
Thomas Porzelt
2008-08-17 00:24:10 +02:00
ccaacfb285added 'blank' function to plugin_core
Thomas Porzelt
2008-08-17 00:23:52 +02:00
5347dd06b3implemented default values for options
Thomas Porzelt
2008-08-15 20:38:28 +02:00
6804b1df00implemented default values for options
Thomas Porzelt
2008-08-15 20:38:20 +02:00
33aa9a0bebadded event_handler setup; added srv->loop_flags; moved loop initialization to server_loop_init(); added ev_backend_string() to utils.c
Thomas Porzelt
2008-08-15 18:21:33 +02:00
c5fb96870cadded event_handler setup; added srv->loop_flags; moved loop initialization to server_loop_init(); added ev_backend_string() to utils.c
Thomas Porzelt
2008-08-15 18:21:21 +02:00
fd4031beeaadded server.tag; small fixes and cleanups
Thomas Porzelt
2008-08-15 17:18:53 +02:00
3caab6a860added server.tag option
Thomas Porzelt
2008-08-15 17:17:04 +02:00
c1bc3b8e0asmall cleanup in config parser; small fix in log.c
Thomas Porzelt
2008-08-14 15:52:45 +02:00
dd7d3b4777added http_status_string() function; response.c now includes the right status string
Thomas Porzelt
2008-08-13 02:18:49 +02:00
df16145d05added http_status_string() function; response.c now includes the right status string
Thomas Porzelt
2008-08-13 02:18:35 +02:00
ff7addce12fixed fd initialization warning with -O2 in log.c
Thomas Porzelt
2008-08-12 19:34:41 +02:00
1798e226fffixed fd initialization warning with -O2 in log.c
Thomas Porzelt
2008-08-12 19:34:11 +02:00
6bbda1a08bfixed segfault in chunkqueue with filename NULL; changed log_un/ref to use mutex; made core_handle_test more verbose; initial working version of config parser
Thomas Porzelt
2008-08-12 19:09:05 +02:00
ef9b96e552fixed chunkqueue segfault with NULL filename
Thomas Porzelt
2008-08-12 19:04:55 +02:00
3d1ce91482merged from sandbox
Thomas Porzelt
2008-08-12 17:15:34 +02:00
e93d1ef301merged from lp
Thomas Porzelt
2008-08-12 17:15:15 +02:00
b1000d2ca4config parser intial working version; test action in core plugin with more outpot
Thomas Porzelt
2008-08-12 17:09:05 +02:00
6467329144merged from lp
Thomas Porzelt
2008-08-11 17:38:02 +02:00
1f0b3ac991Fixed wscript so you can have CFLAGS in your environment while ./waf configure, e.g. CFLAGS=-O2 ./waf configure --with-allStefan Bühler2008-08-07 21:38:08 +02:00
2546ce9259Use ev_now for current timestamp, clean usage of shutdown (wait for eof before close)Stefan Bühler2008-08-07 16:50:36 +02:00
09481f470fchanged log_ref to use mutex instead of atomic operations because those could still lead to race conditions
Thomas Porzelt
2008-08-06 23:48:39 +02:00