5d27591a49
Fix return TRUE in a void function
stbuehler2008-09-26 18:06:24 +02:00
34c513c645
Fix waf wscript for the renamed files
stbuehler2008-09-26 18:06:07 +02:00
c54a085552
Implement clean default values for options
stbuehler2008-09-26 17:09:30 +02:00
5d0d12c0bd
Updated cmake ragel rules to build config parser with -T0 instead of -T1
stbuehler2008-09-26 16:17:04 +02:00
091f122aad
Renamed option -> value, some other minor/related renames; added option_value as datatype for the value of options (union for ptr/gin64)
stbuehler2008-09-26 16:11:08 +02:00
a88ca5238c
Add the "collect" framework, which collects results from a function executed in each worker context
stbuehler2008-09-26 10:36:36 +02:00
3c00360259
log requests/sec stats per worker
stbuehler2008-09-25 22:49:32 +02:00
ee59334e9d
Only send regular files with static handler
stbuehler2008-09-08 02:28:55 +02:00
798085f860
Fix some segfaults and add cleanup for worker split
stbuehler2008-09-08 02:25:55 +02:00
0fe9176d6f
Splitted worker from server; removed "server *srv" from most function which also have "connection *con"
stbuehler2008-09-08 02:20:55 +02:00
371c9749d7
Try to make ragel call ragel5 compatible
stbuehler2008-09-08 02:20:25 +02:00
dbd9218150
Silence strict-alias warning again with redefining some macros
stbuehler2008-09-07 15:33:11 +02:00
ecd1082378
Remove "my_ev_init" as we now have -fno-strict-aliasing; workaround was stupid anyway. Move static ev_signal vars into server struct.
stbuehler2008-09-02 20:30:39 +02:00
90e566be80
Add --debug configure option to waf; if not given use -O2. Use -fno-strict-aliasing.
stbuehler2008-09-02 20:29:21 +02:00
e15193447d
Fix cleanup of target_else in conditional action, added support for else branch in "when" action.
stbuehler2008-08-27 16:39:30 +02:00
486f64bd7d
Added 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)
stbuehler2008-08-17 18:24:09 +02:00
7bdce8aeb4
Added action/condition to option_copy
stbuehler2008-08-17 14:12:03 +02:00
978eb166d1
added option_copy(); fixed variable statements in config parser where assignments without parser func lead to OPTION_NONE options
Thomas Porzelt2008-08-17 02:29:05 +02:00
d3547c5318
added option_copy(); fixed variable statements in config parser where assignments without parser func lead to OPTION_NONE options
Thomas Porzelt2008-08-17 02:28:57 +02:00
9775213cb9
added 'blank' function that returns a blank page to plugin_core
Thomas Porzelt2008-08-17 00:24:10 +02:00
33aa9a0beb
added event_handler setup; added srv->loop_flags; moved loop initialization to server_loop_init(); added ev_backend_string() to utils.c
Thomas Porzelt2008-08-15 18:21:33 +02:00
c5fb96870c
added event_handler setup; added srv->loop_flags; moved loop initialization to server_loop_init(); added ev_backend_string() to utils.c
Thomas Porzelt2008-08-15 18:21:21 +02:00
dd7d3b4777
added http_status_string() function; response.c now includes the right status string
Thomas Porzelt2008-08-13 02:18:49 +02:00
df16145d05
added http_status_string() function; response.c now includes the right status string
Thomas Porzelt2008-08-13 02:18:35 +02:00
ff7addce12
fixed fd initialization warning with -O2 in log.c
Thomas Porzelt2008-08-12 19:34:41 +02:00
1798e226ff
fixed fd initialization warning with -O2 in log.c
Thomas Porzelt2008-08-12 19:34:11 +02:00
6bbda1a08b
fixed 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 Porzelt2008-08-12 19:09:05 +02:00
ef9b96e552
fixed chunkqueue segfault with NULL filename
Thomas Porzelt2008-08-12 19:04:55 +02:00