Thomas Porzelt
8e8a53e8c6
[core] Fix include of sys/wait.h in settings.h
2010-07-31 16:11:32 +02:00
Thomas Porzelt
e7fca37edb
[core] Include wait.h in settings.h
2010-07-31 15:56:32 +02:00
Thomas Porzelt
20c3e7d6ad
[core] Add li_memory_usage(), clean up some old sys-* files
2010-07-31 15:16:29 +02:00
Thomas Porzelt
e2a551298e
[core] Use liCond* helpers in li_pattern_parse/eval
2010-07-24 14:51:44 +02:00
Stefan Bühler
831cca1c59
[mod_memcached]: try to fail quietly after connection resets until the next connect
2010-07-18 21:35:55 +02:00
Stefan Bühler
c0128fea48
[mod_memcached] Initial mod_memcached
2010-07-17 15:23:54 +02:00
Thomas Porzelt
3668ef97ab
[core] Add liPattern type and associated functions
2010-06-06 23:54:55 +02:00
Thomas Porzelt
b5009f18df
[core] Fix usage of sched_setaffinity() and disable it for now as it seems to impose a little performance hit
2010-05-16 18:35:54 +02:00
Stefan Bühler
e00febcd40
Fix vrequest-ref api
2010-05-14 13:12:33 +02:00
Stefan Bühler
c2271c15c3
Add plugin init-lua hook
2010-05-14 13:10:19 +02:00
Stefan Bühler
d846779077
Add li_ev_safe_unref_and_start to utils.h
2010-05-13 12:17:32 +02:00
Stefan Bühler
26ebaa3bd3
Add a new liBuffer alloc function for long-term buffers
2010-05-13 12:17:32 +02:00
Thomas Porzelt
b3f8b8d62f
[core] Add li_waitqueue_set_delay() function
2010-05-10 21:42:06 +02:00
Thomas Porzelt
fa1c73cbe6
[core] Make profiler output to file, fix small issue with profiler_try_realloc()
2010-05-09 12:12:53 +02:00
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
2010-05-07 20:54:50 +02:00
Thomas Porzelt
86e039e6d2
[core] Add --module-resident commandline parameter to prevent module unloading. Useful for valgrind or tcmalloc
2010-05-06 22:42:47 +02:00
Thomas Porzelt
ad8570423a
[core] Add li_http_method_from_string() function
2010-04-04 16:37:02 +02:00
Stefan Bühler
48aac3ab07
[stat-cache] Provide blocking cached stat
2010-03-02 22:50:26 +01:00
Stefan Bühler
3dc644cf40
Add conditionals for local and remote port (-1 for unix sockets)
2010-02-21 13:45:20 +01:00
Stefan Bühler
e0370fac79
Fix some lua handling; add args for lua plugins/handlers
2010-02-14 15:48:25 +01:00
Stefan Bühler
905a83fc77
Add plugin hooks for server state machine changes
2010-02-13 15:41:09 +01:00
Stefan Bühler
30ebce774e
Add "state-wait" api for server state machine
2010-02-13 15:29:21 +01:00
Thomas Porzelt
d18045ccbf
[core] Rework throttle code a bit, especially regarding pools
2010-02-13 14:30:32 +01:00
Stefan Bühler
048a7d9144
Append to previous buffer in network reads, save used buffer in custom location
2010-02-10 22:25:48 +01:00
Stefan Bühler
13611b5243
Improve balancer handling
2010-02-09 22:37:28 +01:00
Stefan Bühler
7a63f69133
Add li_sockaddr_dup
2010-02-09 22:36:47 +01:00
Thomas Porzelt
1297a1fab7
[core] Fix crash in throttle pool handling
2010-02-07 22:49:54 +01:00
Stefan Bühler
750bd453a2
Append to previous buffer in network reads
2010-02-02 00:34:34 +01:00
Stefan Bühler
5284ce9cb4
Fix option handling: need another opt_base_index for pointer options
2010-01-27 17:38:27 +01:00
Stefan Bühler
2e4aba7e39
Fix options: missed setting "pointer" options
2010-01-27 17:15:25 +01:00
Stefan Bühler
f14103bc2c
Split options into two categories: simple (int, bool) and ref-counted pointers
2010-01-24 23:00:51 +01:00
Stefan Bühler
64ba5fddce
Cleanup value pointer extractions
2010-01-24 23:00:48 +01:00
Stefan Bühler
faf2985a79
Use struct sockaddr_storage (in liSockAddr) as base for getsockname/getpeername
2010-01-24 11:47:58 +01:00
Stefan Bühler
edd74a0e3c
Rename lighttpd to lighttpd2
2010-01-03 19:53:48 +01:00
Thomas Porzelt
9bd5c39550
[core] Add vr->ts_started struct member, representing the ev_tstamp when the vr has been started
2010-01-03 17:39:26 +01:00
Thomas Porzelt
8716087728
[core] Rename con->ts to con->ts_started
2010-01-03 17:26:07 +01:00
Stefan Bühler
fe7ddede88
Add lua plugins
2009-12-21 19:09:55 +01:00
Stefan Bühler
b4c3e2ba02
Add userdata to action-create, setup and plugin-init callbacks
2009-12-21 12:29:14 +01:00
Stefan Bühler
881669d96a
Add lua filters; fixed some lua-api bugs; enhanced lua chunkqueue api
2009-12-20 23:45:03 +01:00
Stefan Bühler
402c45dc45
Add buffer-on-disk for uploads automatically
2009-12-19 22:18:10 +01:00
Stefan Bühler
2f06283832
Change internal conditional checks; export functions to read value of conditional-lvalues
2009-12-19 17:41:55 +01:00
Stefan Bühler
b332fcbbb8
Add api for buffering chunkqueue content on disk
2009-12-15 16:58:08 +01:00
Stefan Bühler
931e8fea0c
Make radix tree generic (length independent), use it for mod_access ipv4/ipv6
2009-12-14 14:29:59 +01:00
Stefan Bühler
3bc425fef1
Remove config parser code from main(), add cmake-option to disable default config parser
2009-12-13 21:35:46 +01:00
Stefan Bühler
eff8ed5e50
Add request.environment[] conditional
2009-12-13 00:36:56 +01:00
Stefan Bühler
0c3ca6b13b
add liBuffer: a reference-counted memory chunk (using mempool) for basic network data
2009-11-29 17:54:01 +01:00
Stefan Bühler
f9b12036fe
Add mempool allocator to avoid fragmentation
2009-11-29 15:22:57 +01:00
Stefan Bühler
8f69c6bc8d
Reduce buffer allocs for network read
2009-11-22 18:50:11 +01:00
Stefan Bühler
1ac09ac2d1
Use relative timestamp for angel call timeouts, increase angel-listen timeout.
...
* While lighty runs the initialization, the difference between ev_now()
and ev_time() might be bigger than the timeout - which leads to an
immediate timeout.
2009-11-22 14:48:18 +01:00
Thomas Porzelt
9989cd62ce
[core] Fix value statements in config parser (now using stack for operator)
2009-11-21 16:36:42 +01:00