Stefan Bühler
53337c81d4
[lua] prevent tampering with global "lighty" table
...
Change-Id: If92ea8d7b58868904ab6d1ffaa27534cb09b7d29
2 years ago
Stefan Bühler
7aec09dd27
[lua] split all metatable init/create code into separate functions
...
- lua_push_*_metatable and init_*_mt (init only used by push)
Change-Id: I42a3d58b884205f30e4ee9a99c693ce65e9dbf66
2 years ago
Stefan Bühler
17a5168793
[core] convert all assert() to LI_FORCE_ASSERT(), and support writing backtraces on fatal errors with libunwind
9 years ago
Stefan Bühler
01788a7250
[common] remove hash value type (use key/value lists instead)
9 years ago
Stefan Bühler
f482877825
[doc] document core config and modules in tree
9 years ago
Stefan Bühler
a1fbaab86b
[core/modules] refactor config handling
...
* should be more robust now: taking list of wanted value, handling NULL
pointers instead of value type NONE, fixed some bugs (wrong checks,
mem leaks, ...)
* add many methods to make handling of values easier; most methods
can handle NULL value pointers safely (li_value_type(v) instead of
v->type and so on)
10 years ago
Stefan Bühler
0adefe5f18
[mod_memcached] convert to handling key-value list
10 years ago
Stefan Bühler
11b4bdd8c5
replace unneeded ev_/EV_ references
10 years ago
Stefan Bühler
5c2cc7143d
fix filters (deflate, memcached, cache_disk_etag)
10 years ago
Stefan Bühler
f33a7fd3fa
[lua] check values for NULL before pushing to stack
10 years ago
Stefan Bühler
a937bd437a
fix missing li prefixes
10 years ago
Stefan Bühler
cfd8955008
[common] implement libev wrapper
...
* need a way to mark a watcher as "don't keep the loop alive"
10 years ago
Stefan Bühler
ff69160c34
[core] Use streams
10 years ago
Stefan Bühler
0d85a068c8
[lua] add per lua_State lock
10 years ago
Stefan Bühler
b1c45e6a8f
[chunk/network] use glib error system to report errors (instead of using virtualrequest context)
11 years ago
Stefan Bühler
2941105e28
[pattern] Fix vr->wrk->tmp_str usage, remove pattern.h from base.h, add pattern support to header.add* actions
12 years ago
Stefan Bühler
79d98f5991
[core] Use liJobQueue for vrequest job queue
13 years ago
Thomas Porzelt
e2a551298e
[core] Use liCond* helpers in li_pattern_parse/eval
13 years ago
Stefan Bühler
fa3c81bd11
[mod_memcached]: less log spam, fix another endless loop
13 years ago
Stefan Bühler
831cca1c59
[mod_memcached]: try to fail quietly after connection resets until the next connect
13 years ago
Stefan Bühler
0e4291d5dd
[mod_memcached]: fix some debug messages
13 years ago
Stefan Bühler
cbb9165eb0
[mod_memcached]: set default ttl to 30 seconds
13 years ago
Stefan Bühler
d5bc446ebe
[mod_memcached]: implement refcount handling for memcache_ctx
13 years ago
Stefan Bühler
ca315bee89
[mod_memcached]: Implement memcached.store
13 years ago
Stefan Bühler
c0128fea48
[mod_memcached] Initial mod_memcached
13 years ago