Commit Graph

30 Commits (5d48ae71026320aac780a8e63e5e425dc84cf395)

Author SHA1 Message Date
Stefan Bühler 77f786ed18 [log] remove different timestamp format handling (one is enough), separate log context (liLogMap) from virtualrequest 11 years ago
Stefan Bühler 0fcbfb7ab7 [core] optimize syscalls per connection 12 years ago
Thomas Porzelt 31d2291a1c [core] Add support for throttling by IP 12 years ago
Stefan Bühler 7fbcfb86d9 [mod_openssl]: better io event handling (ssl may want to write while lighty only wants to read) 12 years ago
Thomas Porzelt 14d48527af [core] Make log.timestamp creation/destruction threadsafe 12 years ago
Thomas Porzelt a3b7ce74af [core] Rework throttle-pool handling to be thread-safe in creation/destruction aswell as more accurate and fair throttling 12 years ago
Thomas Porzelt 9c63e60cb7 [core] Add workers.cpu_affinity setup action 12 years ago
Stefan Bühler 1c3d3c287f [core]: add tasklet pools to workers and use them for stat-cache 12 years ago
Thomas Porzelt b5009f18df [core] Fix usage of sched_setaffinity() and disable it for now as it seems to impose a little performance hit 13 years ago
Thomas Porzelt 86e039e6d2 [core] Add --module-resident commandline parameter to prevent module unloading. Useful for valgrind or tcmalloc 13 years ago
Stefan Bühler 905a83fc77 Add plugin hooks for server state machine changes 13 years ago
Stefan Bühler 30ebce774e Add "state-wait" api for server state machine 13 years ago
Stefan Bühler f14103bc2c Split options into two categories: simple (int, bool) and ref-counted pointers 13 years ago
Stefan Bühler a14a709237 Add max-connections check, set to max-fds/4 13 years ago
Stefan Bühler 659ebfdd16 Add core lua support to handle requests 13 years ago
Stefan Bühler f030824550 Fix server address (do not use the listen address) 13 years ago
Stefan Bühler a663088a77 Add custom server socket callbacks (for ssl modules) 13 years ago
Stefan Bühler 56ff7ca32a angel/lighty now synchronize the server state 13 years ago
Stefan Bühler eeddb37e4a Add plugin angel callbacks 13 years ago
Stefan Bühler 282a2d1b4a Prefix LI_API functions with "li_" 13 years ago
Stefan Bühler 99b203e3d8 Prefix typenames, enums and some macros with "li" and "LI_"; CamelCase TypeNames 13 years ago
Stefan Bühler f8be820c36 Big lighttpd-angel update; still not complete, but supports fork+exec+setuid/gid+listen (no checks in listen yet) 13 years ago
Stefan Bühler dfb1db14d7 Use pointer-sign warning in cmake und fix many of them. 14 years ago
Thomas Porzelt 383fa6a4f5 - introduce throttling via pools, rework throttling by connection 14 years ago
Stefan Bühler 611d7dcac3 Recode the sockaddr handling, fixing some bugs 14 years ago
Thomas Porzelt 4d2cf580df add stat_cach_get_dir() to get directory listing; add stat_cache.ttl setup 14 years ago
Thomas Porzelt 93bd5e2a6a add additional paramter format_ndx to worker_current_timestamp() 14 years ago
Stefan Bühler d9ddd4fd3d Remove out-of-fd-handling. 14 years ago
Stefan Bühler c458377d4a Added mod_fastcgi, some api functions for it, and some new optional compiler warnings (which led to many small changes) 14 years ago
Stefan Bühler 3dceeb5916 Move include files into a separate directory and cleanup include order 14 years ago
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