39 Commits (1790afc37fadcd84edd61940e812e3bc75db4ed2)

Author SHA1 Message Date
Thomas Porzelt a3b7ce74af [core] Rework throttle-pool handling to be thread-safe in creation/destruction aswell as more accurate and fair throttling 13 years ago
Stefan Bühler be65208143 waitqueue: modify callback 13 years ago
Stefan Bühler 7d938e48e3 [log] Fix prepare handler 13 years ago
Stefan Bühler 79d98f5991 [core] Use liJobQueue for vrequest job queue 13 years ago
Thomas Porzelt 9c63e60cb7 [core] Add workers.cpu_affinity setup action 13 years ago
Stefan Bühler 77ad119f66 [lua]: add subrequests 13 years ago
Stefan Bühler 1c3d3c287f [core]: add tasklet pools to workers and use them for stat-cache 13 years ago
Stefan Bühler b87e74d151 Optimize IO handling to safe syscalls; run vrequest state machines twice before looking for new io events 13 years ago
Stefan Bühler b876f8401d [core]: rework connection/vrequest structs; add liConInfo 13 years ago
Thomas Porzelt c8663ffda9 [core] Allow disabling of stat cache through stat_cache.ttl 0; 13 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) 13 years ago
Stefan Bühler e00febcd40 Fix vrequest-ref api 13 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 13 years ago
Stefan Bühler b144242a07 Fix timestamp handling a little bit 13 years ago
Stefan Bühler a8efcfcc0e modify plugin api to include worker context for action/option parsing; add per-worker callback for stop_worker
* create main_worker earlier
13 years ago
Stefan Bühler d0f6484e7c Move sched_[gs]etaffinity to plugin_core 14 years ago
Thomas Porzelt 9bd5c39550 [core] Add vr->ts_started struct member, representing the ev_tstamp when the vr has been started 14 years ago
Thomas Porzelt 8716087728 [core] Rename con->ts to con->ts_started 14 years ago
Stefan Bühler 8f69c6bc8d Reduce buffer allocs for network read 14 years ago
Thomas Porzelt 6bf284b754 [core] Record peak values of worker stats 14 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 14 years ago
Thomas Porzelt 53096333f1 [core] Fix connection garbage collector 14 years ago
Stefan Bühler d9228f3ef0 Add per worker lua_State 14 years ago
Stefan Bühler a151eeac2f Prefix li_ cleanup, verified with nm -g --defined-only 14 years ago
Stefan Bühler a14a709237 Add max-connections check, set to max-fds/4 14 years ago
Stefan Bühler 7cf91dc9ad Fix previous commit (missing plugin_core include) 14 years ago
Stefan Bühler 856a841820 Move io-timeout message into log_request_handling 14 years ago
Stefan Bühler 037c78e8ed Fix closing sockets on shutdown 14 years ago
Stefan Bühler 48721307b3 Remove req/s debug output, put docroot debug in request-handling option 14 years ago
Stefan Bühler 7133bae151 Fix vrequest state machine w. waiting actions 14 years ago
Stefan Bühler f030824550 Fix server address (do not use the listen address) 14 years ago
Stefan Bühler a663088a77 Add custom server socket callbacks (for ssl modules) 14 years ago
Stefan Bühler 56ff7ca32a angel/lighty now synchronize the server state 14 years ago
Stefan Bühler f221bac60e Fix handling closing sockets (read buffer until EOF, error or timeout) 14 years ago
Thomas Porzelt 8a13426774 [core] Stop stat cache waitqueue in sigint/worker stop 14 years ago
Stefan Bühler df96167362 Add automake 14 years ago
Stefan Bühler 594987c29e Add li_ev_safe_ref_and_stop macro and use it 14 years ago
Thomas Porzelt e838c9b3cf [core] Add liTimeFunc (gmtime_r, localtime_r) parameter to li_worker_current_timestamp() 14 years ago
Stefan Bühler 540ff7db02 Split sources into subdirs 14 years ago