mirror of
https://github.com/graygnuorg/pound.git
synced 2026-10-25 10:19:36 +03:00
* NEWS: Document changes. * doc/pound.8: Document changes. * configure.ac: Version 4.0.90 * src/config.c: New configuration parameters: WorkerMinCount, WorkerMaxCount and WorkerIdleTimeout. * src/extern.h (numthreads): Remove. (worker_min_count, worker_max_count) (worker_idle_timeout): New externs. * src/http.c (thr_http): Return if get_thr_arg returns NULL. * src/pound.c (numthreads): Remove. (worker_min_count, worker_max_count) (worker_idle_timeout): New variables. (put_thr_arg): Start new worker if all existing workers are busy and worker_max_count is not yet reached. (get_thr_arg): Return NULL if a spare thread remains idle for too long. * src/pound.h (DEFAULT_NUMTHREADS): Remove. (DEFAULT_WORKER_MIN, DEFAULT_WORKER_MAX) (DEFAULT_WORKER_IDLE_TIMEOUT): New defines.