Stefan Bühler
0fcbfb7ab7
[core] optimize syscalls per connection
12 years ago
Thomas Porzelt
31d2291a1c
[core] Add support for throttling by IP
13 years ago
Stefan Bühler
7fbcfb86d9
[mod_openssl]: better io event handling (ssl may want to write while lighty only wants to read)
13 years ago
Thomas Porzelt
14d48527af
[core] Make log.timestamp creation/destruction threadsafe
13 years ago
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
Thomas Porzelt
9c63e60cb7
[core] Add workers.cpu_affinity setup action
13 years ago
Stefan Bühler
1c3d3c287f
[core]: add tasklet pools to workers and use them for stat-cache
13 years ago
Thomas Porzelt
b5009f18df
[core] Fix usage of sched_setaffinity() and disable it for now as it seems to impose a little performance hit
13 years ago
Thomas Porzelt
86e039e6d2
[core] Add --module-resident commandline parameter to prevent module unloading. Useful for valgrind or tcmalloc
13 years ago
Stefan Bühler
905a83fc77
Add plugin hooks for server state machine changes
13 years ago
Stefan Bühler
30ebce774e
Add "state-wait" api for server state machine
13 years ago
Stefan Bühler
f14103bc2c
Split options into two categories: simple (int, bool) and ref-counted pointers
13 years ago
Stefan Bühler
a14a709237
Add max-connections check, set to max-fds/4
14 years ago
Stefan Bühler
659ebfdd16
Add core lua support to handle requests
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
eeddb37e4a
Add plugin angel callbacks
14 years ago
Stefan Bühler
282a2d1b4a
Prefix LI_API functions with "li_"
14 years ago
Stefan Bühler
99b203e3d8
Prefix typenames, enums and some macros with "li" and "LI_"; CamelCase TypeNames
14 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)
14 years ago
Stefan Bühler
dfb1db14d7
Use pointer-sign warning in cmake und fix many of them.
14 years ago
Thomas Porzelt
383fa6a4f5
- introduce throttling via pools, rework throttling by connection
...
- new actions: 'throttle_pool', 'throttle_connection' and 'status'
- don't start waitqueue timer in waitqueue_init(); start/stop timer on demand
- new parameter for network_write(): write_max
- move stats and timeout handling from network_write/read() to connection_cb()
14 years ago
Stefan Bühler
611d7dcac3
Recode the sockaddr handling, fixing some bugs
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
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
Stefan Bühler
3dceeb5916
Move include files into a separate directory and cleanup include order
15 years ago