Commit Graph

38 Commits (d56e5c2ea918a6fb790cc4caba5fdde91e58a5ea)

Author SHA1 Message Date
Thomas Porzelt d56e5c2ea9 implement waitqueues (utils), change connection io timeouts to use those 14 years ago
Thomas Porzelt b491e91c68 add io timeouts 14 years ago
Stefan Bühler 649f7baf78 Modify header usage; include all core headers from base.h and forbid direct including of core headers. Move typedefs into separate header. 14 years ago
Stefan Bühler 566cbdb024 virtual requests; they replace a big part from connection. 14 years ago
Thomas Porzelt 5c564c7c0a added srv->started_str, small fix in server_free() 14 years ago
Thomas Porzelt 59fdb03ee0 implement loading of modules 14 years ago
Thomas Porzelt 472e7a81a9 changed srv->option_def_values to GArray and intialization of default values; enabled overriding of default values in config parser 14 years ago
Thomas Porzelt 30bae997eb moved log cleanups to own function; fixed memleaks in config parser and plugin_core 14 years ago
Stefan Bühler 091f122aad Renamed option -> value, some other minor/related renames; added option_value as 14 years ago
Stefan Bühler 3c00360259 log requests/sec stats per worker 14 years ago
Stefan Bühler a17aa92250 Move stats into worker 14 years ago
Thomas Porzelt 292d013134 reworked logging functions; added 'log' and 'log.timestamp' options, removed 'log.level' and 'log.target' options 14 years ago
Stefan Bühler 00143835d4 Move the connection tables into the workers, so no locking needed for them. 14 years ago
Stefan Bühler c62f8f7945 Add more atomic protection 14 years ago
Stefan Bühler 0a4230cced Added basic notify + locking for workers 14 years ago
Stefan Bühler 0fe9176d6f Splitted worker from server; removed "server *srv" from most function which also have "connection *con" 14 years ago
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. 14 years ago
Stefan Bühler 486f64bd7d Added keep-alive and dead state for connection, added timeout for keep-alive. 14 years ago
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 14 years ago
Thomas Porzelt 4d55315487 added first counters 14 years ago
Stefan Bühler 066d0f5342 Added plugin callbacks for content and close handling 14 years ago
Stefan Bühler b8e3535546 Enabled options, moved some initializing 14 years ago
Stefan Bühler 2546ce9259 Use ev_now for current timestamp, clean usage of shutdown (wait for eof before close) 14 years ago
Stefan Bühler 03458817cc Updated TODO hints 14 years ago
Stefan Bühler e216fc5168 handle requests now :) - still many TODOs for error handling/keep alive/validating headers 14 years ago
Stefan Bühler 2fbc7b1408 Basic connection state machine 14 years ago
Thomas Porzelt a603d799f6 config parser changes; removed srv->mutex 14 years ago
Stefan Bühler 0a514f657e server/connection/request functions 14 years ago
Stefan Bühler f86bf3631d Remove action_list struct 14 years ago
Stefan Bühler 2f7359b14c changed some apis, implemented some todos, added support for lua actions/conditions. 14 years ago
Thomas Porzelt aca2f46bf6 config parser changes 14 years ago
Stefan Bühler 57701f997d Added "actions" and "setups" to the plugin api 14 years ago
Stefan Bühler e44aea16ba Implement plugin registration 14 years ago
Thomas Porzelt d10756d047 added ifdefs to connection.h and server.h; documented mutexes 14 years ago
Thomas Porzelt 5045a5ee04 made log refcounting, srv->exiting and srv->rotate_logs atomic operations; moved server and connection structs from base.h into server.h and connection.h respectively 14 years ago