Commit Graph

16 Commits (d9228f3ef0660606b90e83411de587d6456c492a)

Author SHA1 Message Date
Stefan Bühler d9228f3ef0 Add per worker lua_State 13 years ago
Stefan Bühler a151eeac2f Prefix li_ cleanup, verified with nm -g --defined-only 13 years ago
Stefan Bühler 855ac43999 Fix small copy/paste bug 13 years ago
Stefan Bühler a14a709237 Add max-connections check, set to max-fds/4 13 years ago
Stefan Bühler 8ac057d3d5 angel: Add wrapper, env and copy-env to instance config 13 years ago
Stefan Bühler aadbf51c84 Fix two more leaks, add some safe = NULL inits, free ssl error strings 13 years ago
Thomas Porzelt 1df869edc3 [waf] Add missing checks for localtime_r() and gmtime_r() 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 594987c29e Add li_ev_safe_ref_and_stop macro and use it 13 years ago
Thomas Porzelt e838c9b3cf [core] Add liTimeFunc (gmtime_r, localtime_r) parameter to li_worker_current_timestamp() 13 years ago
Stefan Bühler a061745193 Fix bugs found with the static clang analyzer (http://clang-analyzer.llvm.org/) 13 years ago
Stefan Bühler f4f2bd1f38 Poison non-thread-safe functions and fix errors 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
Thomas Porzelt b000f96170 [core] Fix setting of multiple workers 14 years ago
Stefan Bühler 48bf0071e4 [angel] Add basic module/plugin support 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 d24e602713 increase default io timeout from 30s to 300s 14 years ago
Stefan Bühler 0eef3d7ee8 Use nonblocking sockets 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
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 b491e91c68 add io timeouts 14 years ago
Thomas Porzelt 245cecb1e2 add srv->started (timestamp) and srv->started_str (formatted ts) 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 604042b24c fixed segfault in server_free() if workers are not allocated yet; removed virtualrequest.h include from base.h 14 years ago
Thomas Porzelt 5150637e13 implemented port feature for listen setup; small memleak und config parser fixes 14 years ago
Stefan Bühler d6b28e47aa Fix segfault if config parser failed 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 c54a085552 Implement clean default values for options 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 a88ca5238c Add the "collect" framework, which collects results from a function executed in each worker context 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 721cb88985 Kill some memleaks 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 14cb73e80b Set cpu affinity 14 years ago
Stefan Bühler 45849a4864 Add error reporting if ev_loop creation fails. 14 years ago