2
0
Fork 0
Commit Graph

412 Commits

Author SHA1 Message Date
Stefan Bühler e87e6a9a58 Fix indentation in wscript 2008-09-18 09:14:39 +02:00
Stefan Bühler ac1f66ee1d Fix pcre 2008-09-18 09:13:32 +02:00
Thomas Porzelt 623e10d7a0 added missing insert into hashtable for logs, removed lock from log_free_unlocked() 2008-09-10 00:07:42 +02:00
Stefan Bühler 14cb73e80b Set cpu affinity 2008-09-09 20:47:10 +02:00
Stefan Bühler 267b0bf6fc shutdown sockets immediatly if srv->exiting is true 2008-09-09 18:09:20 +02:00
Stefan Bühler 45849a4864 Add error reporting if ev_loop creation fails. 2008-09-09 18:08:45 +02:00
Stefan Bühler c62f8f7945 Add more atomic protection 2008-09-09 18:03:18 +02:00
Stefan Bühler 58351b5ff0 Clean libev loops 2008-09-09 17:27:37 +02:00
Stefan Bühler dbc9859ce8 Use atomic refcount operations 2008-09-09 16:41:02 +02:00
Stefan Bühler 47c0acf4c2 Changed header implementation from hash-table to double linked list 2008-09-09 16:38:40 +02:00
Stefan Bühler f5cf939d5a Added "workers(x)" setup function 2008-09-09 11:31:08 +02:00
Stefan Bühler 0a4230cced Added basic notify + locking for workers 2008-09-09 02:22:21 +02:00
Stefan Bühler ee59334e9d Only send regular files with static handler 2008-09-08 02:28:55 +02:00
Stefan Bühler 798085f860 Fix some segfaults and add cleanup for worker split 2008-09-08 02:25:55 +02:00
Stefan Bühler 0fe9176d6f Splitted worker from server; removed "server *srv" from most function which also have "connection *con" 2008-09-08 02:20:55 +02:00
Stefan Bühler 371c9749d7 Try to make ragel call ragel5 compatible 2008-09-08 02:20:25 +02:00
Stefan Bühler dbd9218150 Silence strict-alias warning again with redefining some macros 2008-09-07 15:33:11 +02:00
Stefan Bühler ecd1082378 Remove "my_ev_init" as we now have -fno-strict-aliasing; workaround was stupid anyway. Move static ev_signal vars into server struct. 2008-09-02 20:30:39 +02:00
Stefan Bühler 90e566be80 Add --debug configure option to waf; if not given use -O2. Use -fno-strict-aliasing. 2008-09-02 20:29:21 +02:00
Stefan Bühler e15193447d Fix cleanup of target_else in conditional action, added support for else branch in "when" action. 2008-08-27 16:39:30 +02:00
Thomas Porzelt ead4172d75 fixed else/elseif in config parser 2008-08-27 00:58:00 +02:00
Thomas Porzelt cf51355d1c fixed else/elseif in config parser 2008-08-27 00:57:51 +02:00
Thomas Porzelt b003b20c3a added else/elseif to config parser; uses new target_else member of action->value.condition 2008-08-26 23:54:13 +02:00
Thomas Porzelt 1371d4e49f added else/elseif to config parser; uses new target_else member of action->value.condition 2008-08-26 23:53:54 +02:00
Thomas Porzelt a211f528fc changed option default value assignment to callbacks 2008-08-22 20:51:39 +02:00
Thomas Porzelt 8649ce6cfe changed option default value assignment to callbacks 2008-08-22 20:51:25 +02:00
Thomas Porzelt 93618313e1 merged from lp 2008-08-22 20:01:37 +02:00
Stefan Bühler 577928e8eb Fix double con_put in server_free 2008-08-18 16:43:55 +02:00
Stefan Bühler 475300d1aa Fix keep-alive again (missing cleanup) 2008-08-17 22:12:44 +02:00
Stefan Bühler 491b7880cb Fix keep-alive idle. 2008-08-17 21:27:09 +02:00
Stefan Bühler e7196f24e2 Added MIT license 2008-08-17 19:23:34 +02:00
Stefan Bühler 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)
2008-08-17 18:24:09 +02:00
Stefan Bühler 7bdce8aeb4 Added action/condition to option_copy 2008-08-17 14:12:03 +02:00
Thomas Porzelt 978eb166d1 added option_copy(); fixed variable statements in config parser where assignments without parser func lead to OPTION_NONE options 2008-08-17 02:29:05 +02:00
Thomas Porzelt d3547c5318 added option_copy(); fixed variable statements in config parser where assignments without parser func lead to OPTION_NONE options 2008-08-17 02:28:57 +02:00
Thomas Porzelt 9775213cb9 added 'blank' function that returns a blank page to plugin_core 2008-08-17 00:24:10 +02:00
Thomas Porzelt ccaacfb285 added 'blank' function to plugin_core 2008-08-17 00:23:52 +02:00
Thomas Porzelt 5347dd06b3 implemented default values for options 2008-08-15 20:38:28 +02:00
Thomas Porzelt 6804b1df00 implemented default values for options 2008-08-15 20:38:20 +02:00
Thomas Porzelt 33aa9a0beb added event_handler setup; added srv->loop_flags; moved loop initialization to server_loop_init(); added ev_backend_string() to utils.c 2008-08-15 18:21:33 +02:00
Thomas Porzelt c5fb96870c added event_handler setup; added srv->loop_flags; moved loop initialization to server_loop_init(); added ev_backend_string() to utils.c 2008-08-15 18:21:21 +02:00
Thomas Porzelt fd4031beea added server.tag; small fixes and cleanups 2008-08-15 17:18:53 +02:00
Thomas Porzelt 3caab6a860 added server.tag option 2008-08-15 17:17:04 +02:00
Thomas Porzelt c1bc3b8e0a small cleanup in config parser; small fix in log.c 2008-08-14 15:52:45 +02:00
Stefan Bühler 179021ca18 Fix memleak in writev backend 2008-08-14 15:02:24 +02:00
Thomas Porzelt da2b322517 small change to config parser: comment now included in noise set; added first statistical counters 2008-08-14 01:08:41 +02:00
Thomas Porzelt 1ab2d0d6b3 small change to config parser: comment now included in noise set 2008-08-14 01:08:03 +02:00
Thomas Porzelt 4d55315487 added first counters 2008-08-14 01:05:15 +02:00
Thomas Porzelt 401a9ba356 changed operators ^= to =^ and $= to =$; introduced !^ and !$ 2008-08-13 23:35:48 +02:00
Thomas Porzelt 87afe58fcb changed operators ^= to =^ and $= to =$; introduced clean and ./waf 2008-08-13 22:27:04 +02:00