36 Commits (79d98f59910d32c0b2c851faf6f26940e40e10c1)

Author SHA1 Message Date
Stefan Bühler 79d98f5991 [core] Use liJobQueue for vrequest job queue 12 years ago
Thomas Porzelt 9c63e60cb7 [core] Add workers.cpu_affinity setup action 12 years ago
Stefan Bühler 77ad119f66 [lua]: add subrequests 12 years ago
Stefan Bühler 1c3d3c287f [core]: add tasklet pools to workers and use them for stat-cache 12 years ago
Stefan Bühler b87e74d151 Optimize IO handling to safe syscalls; run vrequest state machines twice before looking for new io events 12 years ago
Stefan Bühler b876f8401d [core]: rework connection/vrequest structs; add liConInfo 12 years ago
Thomas Porzelt c8663ffda9 [core] Allow disabling of stat cache through stat_cache.ttl 0; 12 years ago
Thomas Porzelt e2faced3dd [core] Fix worker timestamp cache initialization resulting in segfault when a module adds a new formatter (e.g. mod_accesslog) 12 years ago
Stefan Bühler e00febcd40 Fix vrequest-ref api 12 years ago
Thomas Porzelt bf632326a7 [core] Update and start (if necessary) io timeout in li_worker_run() fixing first worker ignoring io.timeout from config 12 years ago
Stefan Bühler b144242a07 Fix timestamp handling a little bit 12 years ago
Stefan Bühler a8efcfcc0e modify plugin api to include worker context for action/option parsing; add per-worker callback for stop_worker 12 years ago
Stefan Bühler d0f6484e7c Move sched_[gs]etaffinity to plugin_core 13 years ago
Thomas Porzelt 9bd5c39550 [core] Add vr->ts_started struct member, representing the ev_tstamp when the vr has been started 13 years ago
Thomas Porzelt 8716087728 [core] Rename con->ts to con->ts_started 13 years ago
Stefan Bühler 8f69c6bc8d Reduce buffer allocs for network read 13 years ago
Thomas Porzelt 6bf284b754 [core] Record peak values of worker stats 13 years ago
Thomas Porzelt 175db515a6 [core] Change behaviour of connection garbage collector in worker a bit, only free if below threshold for more than 5 minutes 13 years ago
Thomas Porzelt 53096333f1 [core] Fix connection garbage collector 13 years ago
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 13 years ago
Thomas Porzelt 383fa6a4f5 - introduce throttling via pools, rework throttling by connection 13 years ago
Stefan Bühler 7aaa764f49 Added vrequest_joblist_append_async (with a vrequest-reference handling) 13 years ago
Stefan Bühler 611d7dcac3 Recode the sockaddr handling, fixing some bugs 13 years ago
Thomas Porzelt ab9a616f5d optimize ram usage by freeing unused connections 13 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