ee59334e9d
Only send regular files with static handler
Stefan Bühler2008-09-08 02:28:55 +02:00
798085f860
Fix some segfaults and add cleanup for worker split
Stefan Bühler2008-09-08 02:25:55 +02:00
0fe9176d6f
Splitted worker from server; removed "server *srv" from most function which also have "connection *con"
Stefan Bühler2008-09-08 02:20:55 +02:00
dbd9218150
Silence strict-alias warning again with redefining some macros
Stefan Bühler2008-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.
Stefan Bühler2008-09-02 20:30:39 +02:00
90e566be80
Add --debug configure option to waf; if not given use -O2. Use -fno-strict-aliasing.
Stefan Bühler2008-09-02 20:29:21 +02:00
e15193447d
Fix 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
ead4172d75
fixed else/elseif in config parser
Thomas Porzelt
2008-08-27 00:58:00 +02:00
cf51355d1c
fixed else/elseif in config parser
Thomas Porzelt
2008-08-27 00:57:51 +02:00
b003b20c3a
added else/elseif to config parser; uses new target_else member of action->value.condition
Thomas Porzelt
2008-08-26 23:54:13 +02:00
1371d4e49f
added else/elseif to config parser; uses new target_else member of action->value.condition
Thomas Porzelt
2008-08-26 23:53:54 +02:00
a211f528fc
changed option default value assignment to callbacks
Thomas Porzelt
2008-08-22 20:51:39 +02:00
8649ce6cfe
changed option default value assignment to callbacks
Thomas Porzelt
2008-08-22 20:51:25 +02:00
93618313e1
merged from lp
Thomas Porzelt
2008-08-22 20:01:37 +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)
Stefan Bühler2008-08-17 18:24:09 +02:00
978eb166d1
added 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
d3547c5318
added 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
9775213cb9
added 'blank' function that returns a blank page to plugin_core
Thomas Porzelt
2008-08-17 00:24:10 +02:00
ccaacfb285
added 'blank' function to plugin_core
Thomas Porzelt
2008-08-17 00:23:52 +02:00
5347dd06b3
implemented default values for options
Thomas Porzelt
2008-08-15 20:38:28 +02:00
6804b1df00
implemented default values for options
Thomas Porzelt
2008-08-15 20:38:20 +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 Porzelt
2008-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 Porzelt
2008-08-15 18:21:21 +02:00
fd4031beea
added server.tag; small fixes and cleanups
Thomas Porzelt
2008-08-15 17:18:53 +02:00
3caab6a860
added server.tag option
Thomas Porzelt
2008-08-15 17:17:04 +02:00
c1bc3b8e0a
small cleanup in config parser; small fix in log.c
Thomas Porzelt
2008-08-14 15:52:45 +02:00
da2b322517
small change to config parser: comment now included in noise set; added first statistical counters
Thomas Porzelt
2008-08-14 01:08:41 +02:00
1ab2d0d6b3
small change to config parser: comment now included in noise set
Thomas Porzelt
2008-08-14 01:08:03 +02:00
4d55315487
added first counters
Thomas Porzelt
2008-08-14 01:05:15 +02:00
401a9ba356
changed operators ^= to =^ and $= to =$; introduced !^ and !$
Thomas Porzelt
2008-08-13 23:35:48 +02:00
87afe58fcb
changed operators ^= to =^ and $= to =$; introduced clean and ./waf
Thomas Porzelt
2008-08-13 22:27:04 +02:00
c2b8ccdec4
changed operators ^= to =^ and $= to =$; introduced clean and ./waf
Thomas Porzelt
2008-08-13 22:26:45 +02:00
ef910ea1fb
added ^= (prefix match) and $= (suffix match) operators
Thomas Porzelt
2008-08-13 22:11:24 +02:00
aeba5c0080
merged from sandbox
Thomas Porzelt
2008-08-13 22:11:10 +02:00
f795f2463a
added ^= (prefix match) and $= (suffix match) operators
Thomas Porzelt
2008-08-13 22:10:20 +02:00
dd7d3b4777
added http_status_string() function; response.c now includes the right status string
Thomas Porzelt
2008-08-13 02:18:49 +02:00
df16145d05
added http_status_string() function; response.c now includes the right status string
Thomas Porzelt
2008-08-13 02:18:35 +02:00
ff7addce12
fixed fd initialization warning with -O2 in log.c
Thomas Porzelt
2008-08-12 19:34:41 +02:00
1798e226ff
fixed fd initialization warning with -O2 in log.c
Thomas Porzelt
2008-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 Porzelt
2008-08-12 19:09:05 +02:00
ef9b96e552
fixed chunkqueue segfault with NULL filename
Thomas Porzelt
2008-08-12 19:04:55 +02:00
3d1ce91482
merged from sandbox
Thomas Porzelt
2008-08-12 17:15:34 +02:00
e93d1ef301
merged from lp
Thomas Porzelt
2008-08-12 17:15:15 +02:00
b1000d2ca4
config parser intial working version; test action in core plugin with more outpot
Thomas Porzelt
2008-08-12 17:09:05 +02:00
6467329144
merged from lp
Thomas Porzelt
2008-08-11 17:38:02 +02:00
1f0b3ac991
Fixed wscript so you can have CFLAGS in your environment while ./waf configure, e.g. CFLAGS=-O2 ./waf configure --with-all
Stefan Bühler2008-08-07 21:38:08 +02:00
2546ce9259
Use ev_now for current timestamp, clean usage of shutdown (wait for eof before close)
Stefan Bühler2008-08-07 16:50:36 +02:00