Stefan Bühler
0d85a068c8
[lua] add per lua_State lock
10 years ago
Stefan Bühler
c1851a6cea
[lua] force garbage collection
10 years ago
Stefan Bühler
9cb0790052
[core_lua] Forward worker pointer to log functions in some lua functions
...
This fixes 2 things:
* won't need global server lock for logging in worker context
* order of log entries; worker context log gets committed to
global list in the event loop
10 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
e0370fac79
Fix some lua handling; add args for lua plugins/handlers
13 years ago
Stefan Bühler
fe7ddede88
Add lua plugins
14 years ago
Stefan Bühler
b4c3e2ba02
Add userdata to action-create, setup and plugin-init callbacks
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
476698f118
luaApi: move global method/constants into lighty. namespace, add vr:stat(filename)
14 years ago
Stefan Bühler
aadbf51c84
Fix two more leaks, add some safe = NULL inits, free ssl error strings
14 years ago
Stefan Bühler
a687b03638
Add boolean conditionals to lua
14 years ago
Stefan Bühler
39a879f89a
Add "include_lua" to config special commands if compiled with lua
14 years ago
Stefan Bühler
659ebfdd16
Add core lua support to handle requests
14 years ago
Stefan Bühler
540ff7db02
Split sources into subdirs
14 years ago