Commit Graph

13 Commits (79d98f59910d32c0b2c851faf6f26940e40e10c1)

Author SHA1 Message Date
Thomas Porzelt 9c63e60cb7 [core] Add workers.cpu_affinity setup action 12 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 a151eeac2f Prefix li_ cleanup, verified with nm -g --defined-only 13 years ago
Stefan Bühler 80346e85d1 Fix to-angel logging, disable message repeat counter 13 years ago
Stefan Bühler 00ed27c509 Log server errors into default logs 13 years ago
Thomas Porzelt 1df869edc3 [waf] Add missing checks for localtime_r() and gmtime_r() 13 years ago
Stefan Bühler 56ff7ca32a angel/lighty now synchronize the server state 13 years ago
Stefan Bühler 2f6fe68a75 Cleanup some debug logging 13 years ago
Stefan Bühler ab1387d4ba Move and add some common log helpers to utils 13 years ago
Stefan Bühler f4f2bd1f38 Poison non-thread-safe functions and fix errors 13 years ago
Thomas Porzelt 952a28d176 Fix a null-pointer dereference and some other small things reported by clang analyzer 13 years ago
Stefan Bühler 540ff7db02 Split sources into subdirs 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 48bf0071e4 [angel] Add basic module/plugin support 14 years ago
Stefan Bühler 595ce1fe13 Add wrk in vrequest, s/vr->con->wrk/vr->wrk/, removed some other (broken) usages of vr->con 14 years ago
Stefan Bühler 5c797977c6 Add stderr log support in mod_fastcgi (split lines from backend in log.c) 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
Thomas Porzelt 66f7e669dd add log level "backend" 14 years ago
Stefan Bühler 20dfff0663 Cleanup log macros (moved from con to vrequest) 14 years ago
Stefan Bühler 324224fe2e Implemented two angel "fake" functions 14 years ago
Thomas Porzelt 58cf85f5d1 remove old log stuff 14 years ago
Stefan Bühler 3dceeb5916 Move include files into a separate directory and cleanup include order 14 years ago
Thomas Porzelt 358b9f95f1 implement throttling, change some time_t to ev_tstamp 14 years ago
Thomas Porzelt e9f8b51452 add LOG_TYPE_NONE that doesn't log anything 14 years ago
Stefan Bühler 566cbdb024 virtual requests; they replace a big part from connection. 14 years ago
Thomas Porzelt ed347d2f0c small memory fix in log.c 14 years ago
Thomas Porzelt 5150637e13 implemented port feature for listen setup; small memleak und config parser fixes 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
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 bfd20c2662 Add missing includes for open/fcntl 14 years ago
Thomas Porzelt 623e10d7a0 added missing insert into hashtable for logs, removed lock from log_free_unlocked() 14 years ago
Stefan Bühler dbc9859ce8 Use atomic refcount operations 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
Thomas Porzelt c1bc3b8e0a small cleanup in config parser; small fix in log.c 14 years ago
Thomas Porzelt f795f2463a added ^= (prefix match) and $= (suffix match) operators 14 years ago
Stefan Bühler 1bc8c85266 * replace strerror with g_strerror, kill errno from logging 14 years ago
Thomas Porzelt 1901397a0e minor enhencements; added log.level and log.target options 14 years ago
Thomas Porzelt 1798e226ff fixed fd initialization warning with -O2 in log.c 14 years ago
Thomas Porzelt 2d08b0b823 small changes 14 years ago
Thomas Porzelt 09481f470f changed log_ref to use mutex instead of atomic operations because those could still lead to race conditions 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
Thomas Porzelt 5e700e79e1 small config parser and log changes 14 years ago
Thomas Porzelt a9cbec1046 config parser rewritten 14 years ago
Thomas Porzelt 9858f4ee66 exit on log with level LOG_LEVEL_ERROR 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