2
0
Fork 0

Commit Graph

  • 649f7baf78 Modify header usage; include all core headers from base.h and forbid direct including of core headers. Move typedefs into separate header. Stefan Bühler 2008-10-28 22:11:50 +0100
  • bdce397e70 get rid of global vars in mod_fortune Thomas Porzelt 2008-10-27 20:12:52 +0100
  • 84fb6a5574 add missing call to p->free() in plugin_free Thomas Porzelt 2008-10-27 20:12:48 +0100
  • 7954e0f8d3 Modify vrequest_error Stefan Bühler 2008-10-27 17:49:06 +0100
  • 9b2773750e update mod_fortune for virtual request code, readd to wscript Thomas Porzelt 2008-10-26 13:33:02 +0100
  • f4725264de add virtualrequest.c to wscript, temporarily remove mod_fortune Thomas Porzelt 2008-10-25 19:51:30 +0200
  • b83e3a29ce Fix vrequest merge Stefan Bühler 2008-10-25 18:01:02 +0200
  • 73fff068c3 Merge virtual requests Stefan Bühler 2008-10-25 15:25:02 +0200
  • 566cbdb024 virtual requests; they replace a big part from connection. Stefan Bühler 2008-10-25 14:53:57 +0200
  • 9430770903 [cmake] Add module support Stefan Bühler 2008-10-25 14:48:12 +0200
  • 4b24952c02 Change cmake required version to 2.6.0 Stefan Bühler 2008-10-25 13:45:41 +0200
  • 5c564c7c0a added srv->started_str, small fix in server_free() Thomas Porzelt 2008-10-24 17:50:39 +0200
  • d7bfbde1fc removeleft over testing code from mod_fortune Thomas Porzelt 2008-10-23 18:23:13 +0200
  • 616180e9ac add mod_fortune Thomas Porzelt 2008-10-22 17:11:32 +0200
  • 59fdb03ee0 implement loading of modules Thomas Porzelt 2008-10-22 16:54:44 +0200
  • bbb3c8c69d improved profiler (hashfunc and free-list) Thomas Porzelt 2008-10-18 19:28:37 +0200
  • 24777f99d7 tiny race fix for profiler_free(); added profiler_dump_table() Thomas Porzelt 2008-10-18 00:42:34 +0200
  • eb73fe1651 changed profiler from glib to own implementation that doesn't leak all the memory... Thomas Porzelt 2008-10-18 00:06:06 +0200
  • b5f2442d5f added profile_mem action that dumps memory stats to stdout, enable with LIGHTY_PROFILE_MEM=true env var Thomas Porzelt 2008-10-17 18:08:40 +0200
  • ed347d2f0c small memory fix in log.c Thomas Porzelt 2008-10-17 18:07:38 +0200
  • 5933f9b3c5 use value_list_free() in core_header_free() from plugin_core.c Thomas Porzelt 2008-10-04 20:00:10 +0200
  • 2ac5c5c0a5 fix http_header_append and http_header_overwrite Thomas Porzelt 2008-10-04 03:31:17 +0200
  • 5dde1fafb5 add header_add, _append and _overwrite actions to plugin_core Thomas Porzelt 2008-10-04 03:21:31 +0200
  • 29bf342675 fix erronous free when no configfile specified Thomas Porzelt 2008-10-03 02:27:42 +0200
  • 20956e757e add mimetype info to static action Thomas Porzelt 2008-10-03 01:50:47 +0200
  • 24f4a86576 added 'log' option parser error handling Thomas Porzelt 2008-10-03 00:59:59 +0200
  • d7b17a7746 add 'docroot' option, remove 'physical' action Thomas Porzelt 2008-10-03 00:52:46 +0200
  • 29c962fe06 add mime_types option and mimetype_get() function Thomas Porzelt 2008-10-02 21:46:06 +0200
  • 107798b883 better http_status_to_str() Thomas Porzelt 2008-10-02 17:43:05 +0200
  • 34281b50f1 send proper error pages Thomas Porzelt 2008-10-02 17:38:57 +0200
  • eb5aa9d9d4 fix and comment ip hashing functions Thomas Porzelt 2008-10-02 02:37:36 +0200
  • 21c391da66 ipv4 and ipv6 hashing functions Thomas Porzelt 2008-10-02 02:33:51 +0200
  • f23b051c30 moved freeing of value after parsing in plugin_set_default_option(); made that function static Thomas Porzelt 2008-10-02 00:13:07 +0200
  • 472e7a81a9 changed srv->option_def_values to GArray and intialization of default values; enabled overriding of default values in config parser Thomas Porzelt 2008-10-01 22:20:31 +0200
  • 604042b24c fixed segfault in server_free() if workers are not allocated yet; removed virtualrequest.h include from base.h Thomas Porzelt 2008-09-30 20:26:21 +0200
  • 36b0ae3628 Move request parser data into connection struct Stefan Bühler 2008-09-29 17:07:53 +0200
  • 7cd0b2aaf6 Revert: Add refcount to http headers Stefan Bühler 2008-09-29 15:46:58 +0200
  • de6996268f Add refcount to http headers Stefan Bühler 2008-09-29 13:02:30 +0200
  • 5150637e13 implemented port feature for listen setup; small memleak und config parser fixes Thomas Porzelt 2008-09-27 17:06:43 +0200
  • e1504a252f free value always from the calling function Stefan Bühler 2008-09-27 12:45:43 +0200
  • d6b28e47aa Fix segfault if config parser failed Stefan Bühler 2008-09-27 12:44:04 +0200
  • 480de71283 small memleak fix Thomas Porzelt 2008-09-27 00:37:50 +0200
  • 5e1ebf3c05 fixed small leak (config_path parameter) Thomas Porzelt 2008-09-27 00:17:19 +0200
  • 30bae997eb moved log cleanups to own function; fixed memleaks in config parser and plugin_core Thomas Porzelt 2008-09-27 00:09:12 +0200
  • 5d27591a49 Fix return TRUE in a void function Stefan Bühler 2008-09-26 18:06:24 +0200
  • 34c513c645 Fix waf wscript for the renamed files Stefan Bühler 2008-09-26 18:06:07 +0200
  • c54a085552 Implement clean default values for options Stefan Bühler 2008-09-26 17:09:30 +0200
  • 5d0d12c0bd Updated cmake ragel rules to build config parser with -T0 instead of -T1 Stefan Bühler 2008-09-26 16:17:04 +0200
  • 091f122aad Renamed option -> value, some other minor/related renames; added option_value as datatype for the value of options (union for ptr/gin64) Stefan Bühler 2008-09-26 16:11:08 +0200
  • a88ca5238c Add the "collect" framework, which collects results from a function executed in each worker context Stefan Bühler 2008-09-26 10:36:36 +0200
  • 3c00360259 log requests/sec stats per worker Stefan Bühler 2008-09-25 22:49:32 +0200
  • a17aa92250 Move stats into worker Stefan Bühler 2008-09-25 16:59:09 +0200
  • 593b0d1427 fixed wrong comment in worker.h Thomas Porzelt 2008-09-25 00:02:16 +0200
  • 5a1acd8be9 reworked parts of config_parser Thomas Porzelt 2008-09-25 00:00:23 +0200
  • 9ba30eccbd moved string_destroy_notify() from base.c to utils.c, fixed parameter definition Thomas Porzelt 2008-09-24 23:55:20 +0200
  • 1faaf71de4 added option_to_string() Thomas Porzelt 2008-09-24 23:50:38 +0200
  • 292d013134 reworked logging functions; added 'log' and 'log.timestamp' options, removed 'log.level' and 'log.target' options Thomas Porzelt 2008-09-24 23:43:22 +0200
  • 6fe8eb603d fixed missing \r\n after response headers Thomas Porzelt 2008-09-24 22:07:00 +0200
  • a2ecebf3c3 changed waf build script to not use ragel optimization for config parser Thomas Porzelt 2008-09-24 21:58:53 +0200
  • 721cb88985 Kill some memleaks Stefan Bühler 2008-09-24 20:02:47 +0200
  • 00143835d4 Move the connection tables into the workers, so no locking needed for them. Stefan Bühler 2008-09-24 18:59:49 +0200
  • 2b9147ba50 Fix missing ':' after case EWOULDBLOCK Stefan Bühler 2008-09-23 13:09:07 +0200
  • bca094fe9f Add cmake support Stefan Bühler 2008-09-18 09:32:44 +0200
  • bfd20c2662 Add missing includes for open/fcntl Stefan Bühler 2008-09-18 09:14:57 +0200
  • e87e6a9a58 Fix indentation in wscript Stefan Bühler 2008-09-18 09:14:39 +0200
  • ac1f66ee1d Fix pcre Stefan Bühler 2008-09-18 09:13:32 +0200
  • 623e10d7a0 added missing insert into hashtable for logs, removed lock from log_free_unlocked() Thomas Porzelt 2008-09-10 00:07:42 +0200
  • 14cb73e80b Set cpu affinity Stefan Bühler 2008-09-09 20:47:10 +0200
  • 267b0bf6fc shutdown sockets immediatly if srv->exiting is true Stefan Bühler 2008-09-09 18:09:20 +0200
  • 45849a4864 Add error reporting if ev_loop creation fails. Stefan Bühler 2008-09-09 18:08:45 +0200
  • c62f8f7945 Add more atomic protection Stefan Bühler 2008-09-09 18:03:18 +0200
  • 58351b5ff0 Clean libev loops Stefan Bühler 2008-09-09 17:27:37 +0200
  • dbc9859ce8 Use atomic refcount operations Stefan Bühler 2008-09-09 16:41:02 +0200
  • 47c0acf4c2 Changed header implementation from hash-table to double linked list Stefan Bühler 2008-09-09 16:38:40 +0200
  • f5cf939d5a Added "workers(x)" setup function Stefan Bühler 2008-09-09 11:31:08 +0200
  • 0a4230cced Added basic notify + locking for workers Stefan Bühler 2008-09-09 02:22:21 +0200
  • ee59334e9d Only send regular files with static handler Stefan Bühler 2008-09-08 02:28:55 +0200
  • 798085f860 Fix some segfaults and add cleanup for worker split Stefan Bühler 2008-09-08 02:25:55 +0200
  • 0fe9176d6f Splitted worker from server; removed "server *srv" from most function which also have "connection *con" Stefan Bühler 2008-09-08 02:20:55 +0200
  • 371c9749d7 Try to make ragel call ragel5 compatible Stefan Bühler 2008-09-08 02:20:25 +0200
  • dbd9218150 Silence strict-alias warning again with redefining some macros Stefan Bühler 2008-09-07 15:33:11 +0200
  • 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ühler 2008-09-02 20:30:39 +0200
  • 90e566be80 Add --debug configure option to waf; if not given use -O2. Use -fno-strict-aliasing. Stefan Bühler 2008-09-02 20:29:21 +0200
  • e15193447d Fix cleanup of target_else in conditional action, added support for else branch in "when" action. Stefan Bühler 2008-08-27 16:39:30 +0200
  • ead4172d75 fixed else/elseif in config parser Thomas Porzelt 2008-08-27 00:58:00 +0200
  • cf51355d1c fixed else/elseif in config parser Thomas Porzelt 2008-08-27 00:57:51 +0200
  • b003b20c3a added else/elseif to config parser; uses new target_else member of action->value.condition Thomas Porzelt 2008-08-26 23:54:13 +0200
  • 1371d4e49f added else/elseif to config parser; uses new target_else member of action->value.condition Thomas Porzelt 2008-08-26 23:53:54 +0200
  • a211f528fc changed option default value assignment to callbacks Thomas Porzelt 2008-08-22 20:51:39 +0200
  • 8649ce6cfe changed option default value assignment to callbacks Thomas Porzelt 2008-08-22 20:51:25 +0200
  • 93618313e1 merged from lp Thomas Porzelt 2008-08-22 20:01:37 +0200
  • 577928e8eb Fix double con_put in server_free Stefan Bühler 2008-08-18 16:43:55 +0200
  • 475300d1aa Fix keep-alive again (missing cleanup) Stefan Bühler 2008-08-17 22:12:44 +0200
  • 491b7880cb Fix keep-alive idle. Stefan Bühler 2008-08-17 21:27:09 +0200
  • e7196f24e2 Added MIT license Stefan Bühler 2008-08-17 19:23:34 +0200
  • 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ühler 2008-08-17 18:24:09 +0200
  • 7bdce8aeb4 Added action/condition to option_copy Stefan Bühler 2008-08-17 14:12:03 +0200
  • 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 +0200
  • 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 +0200
  • 9775213cb9 added 'blank' function that returns a blank page to plugin_core Thomas Porzelt 2008-08-17 00:24:10 +0200