Commit Graph

17 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 a14a709237 Add max-connections check, set to max-fds/4 13 years ago
Stefan Bühler 7cf91dc9ad Fix previous commit (missing plugin_core include) 13 years ago
Stefan Bühler 856a841820 Move io-timeout message into log_request_handling 13 years ago
Stefan Bühler 037c78e8ed Fix closing sockets on shutdown 13 years ago
Stefan Bühler 48721307b3 Remove req/s debug output, put docroot debug in request-handling option 13 years ago
Stefan Bühler 7133bae151 Fix vrequest state machine w. waiting actions 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 f221bac60e Fix handling closing sockets (read buffer until EOF, error or timeout) 13 years ago
Thomas Porzelt 8a13426774 [core] Stop stat cache waitqueue in sigint/worker stop 13 years ago
Stefan Bühler df96167362 Add automake 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 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
Thomas Porzelt 859451afad Fix typo and left-over call to stop a timer 14 years ago
Thomas Porzelt 383fa6a4f5 - introduce throttling via pools, rework throttling by connection 14 years ago
Stefan Bühler 7aaa764f49 Added vrequest_joblist_append_async (with a vrequest-reference handling) 14 years ago
Stefan Bühler 611d7dcac3 Recode the sockaddr handling, fixing some bugs 14 years ago
Thomas Porzelt ab9a616f5d optimize ram usage by freeing unused connections 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 efab0ca75d implement stat cache 14 years ago
Stefan Bühler b033f0c194 Extended sockaddr_to_string for use in connect-failed error message in mod_fastcgi 14 years ago
Thomas Porzelt 70a495de6f fix ev_tstamp vs. time_t problems in worker_current_timestamp() 14 years ago
Thomas Porzelt 549f097ea1 fix worker_current_timestamp() caching 14 years ago
Thomas Porzelt 6f69d58fec forgot g_array_set_size() after g_array_sized_new()... duh! 14 years ago
Thomas Porzelt 52bcd62d74 fix small leaks 14 years ago
Thomas Porzelt 93bd5e2a6a add additional paramter format_ndx to worker_current_timestamp() 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 025f0b5f84 Removed HANDLER_FINISHED, implemented real job queue and added some basic balancer structs 14 years ago
Stefan Bühler 20dfff0663 Cleanup log macros (moved from con to vrequest) 14 years ago
Thomas Porzelt 865aea2ce0 prevent double decrement of wrk->connection_load and active connections 14 years ago
Thomas Porzelt 24c7423376 add temporary hack to disable sched_setaffinity when OS != linux 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 d56e5c2ea9 implement waitqueues (utils), change connection io timeouts to use those 14 years ago
Thomas Porzelt b491e91c68 add io timeouts 14 years ago
Thomas Porzelt bfad826aa5 fix small memleak in worker_add_closing_socket() 14 years ago
Thomas Porzelt 0a63fc8058 add client addr string and traffic stats for connections and workers 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
Stefan Bühler a88ca5238c Add the "collect" framework, which collects results from a function executed in each worker context 14 years ago
Stefan Bühler 3c00360259 log requests/sec stats per worker 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