Stefan Bühler
d529150a9b
[autotools] remove generated ragel parsers from dist
9 years ago
Stefan Bühler
6d9277f8a5
[autotools] include cmake files in dist
9 years ago
Stefan Bühler
c3b715dae1
remove old test file
9 years ago
Stefan Bühler
b0ec46adec
[tests] include test ca in dist
9 years ago
Stefan Bühler
f482877825
[doc] document core config and modules in tree
9 years ago
Stefan Bühler
3cd06f49ad
restructure docs
9 years ago
Stefan Bühler
3f61b3c1b1
[mod_proxy] send Content-Length for all non GET/HEAD requests
9 years ago
Stefan Bühler
a6303d8baa
[config] allow setting vars in setup block
10 years ago
Stefan Bühler
b329a39026
[autobuild] use autoreconf instead of calling tools manually; update .gitignore
10 years ago
Stefan Bühler
0d40b25d19
[config] fix missing reference (segfault on shutdown)
10 years ago
Stefan Bühler
3bf3bb1238
[tests] add own test CA and test gnutls and openssl basic functionality
10 years ago
Stefan Bühler
7d22354772
[config] fix cast(string)
10 years ago
Stefan Bühler
a497760f3d
[ŧests] more tests, improve handling
10 years ago
Stefan Bühler
75d314c541
[doc] update to new config syntax
10 years ago
Stefan Bühler
56e606bbd7
[config] setup only allowed in master config context
10 years ago
Stefan Bühler
5222d524ad
[plugin_core] fix some setup parameter handling
10 years ago
Stefan Bühler
1a7eec4aa5
[mod_gnutls] disable protect-against-beast by default now - considered mitigated on client side
10 years ago
Stefan Bühler
81ff95db84
[mod_gnutls] announce http/1.1 in ALPN
10 years ago
Stefan Bühler
e55f423203
[config] fix more bugs in new config handling
10 years ago
Stefan Bühler
d65a2ffc16
[mod_redirect] fix segfault in config parsing
10 years ago
Stefan Bühler
04c6aa93cf
[plugin_core] fix alias action
10 years ago
Stefan Bühler
e4c99e55d6
[config] fix bug in config parser (failed parsing names followed by a comma)
10 years ago
Stefan Bühler
4056bd1a43
[config] fix mem leaks in config parser
10 years ago
Stefan Bühler
875995dae5
[config] fix bugs in new config handling
10 years ago
Stefan Bühler
8037af605f
replace g_hash_table_contains with g_hash_table_lookup
10 years ago
Stefan Bühler
4f45909f2d
[tests] cleanup to use new config style
10 years ago
Stefan Bühler
a7c61d8c06
[tests] test secdownload.lua and the lua key-value list lookup
10 years ago
Stefan Bühler
eb19c66524
[lua] fix key-value list handling and export of lists
10 years ago
Stefan Bühler
e76ebe2021
[core] rewrite config parser
...
* no more hash values - only lists and list of key-value pairs
* "master" config:
the config loaded on startup can use all features,
configs loaded later (vhost on demand from sql...) can't use
include* and cannot modify global vars.
* scoped variables
- add a global var store in the server struct
- global vars can be set with "global foo = bar"
- if a variable already exists in a scope it will be modified on a
write, otherwise a new local variable is created
- global vars won't be modified if not in "master" mode
- vars can be made explicitly local with "local foo = bar"; create a
local copy with "local foo = foo"
- globals vars are available in live config loads for reading
- each file and action block {...} creates a new scope; if/else branches do
NOT create a new scope
* to append a value to a list use "l + [v]" (not "l + v" anymore);
lists are concatenated with "+"
* [...] always marks a list
* (...) is a list if it contains a "," or "=>", otherwise it justs
groups an expression
* a list can either contain key-value pairs or other values. mixing is
not allowed
10 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
b783bd5aaa
[misc] use less C99 features
10 years ago
Stefan Bühler
061b2a4262
[core] handle differences between options/actions/setups in plugin.c
10 years ago
Stefan Bühler
8e41187ff6
[tests] add --valgrind-leak option
10 years ago
Stefan Bühler
898e0c4687
[log] fix small mem leak
10 years ago
Stefan Bühler
cebb8df82c
[mod_vhost] fix config mem leak
10 years ago
Stefan Bühler
ad687636e9
[lua] push list values with __index metamethod to lookup string/nil keys in key-value lists
10 years ago
Stefan Bühler
9f9fe72d97
[lua] fix usage of lua_typename
10 years ago
Stefan Bühler
8a0a8715d0
[tests] only use cache.disk.etag if request was handled
10 years ago
Stefan Bühler
f9d0abac66
[lua] add lighty.error -> lighty.print alias
10 years ago
Stefan Bühler
c963de4083
[tests] test auth.require_user from doc/core.lua
10 years ago
Stefan Bühler
3dceac0d56
[doc] update config examples in doc/*.lua to match current syntax
10 years ago
Stefan Bühler
921982f0fc
[tests] put scgi application into separate file
10 years ago
Stefan Bühler
1c22f3aa2b
[tests] add a stub python memcached server, add mod_memcached tests
10 years ago
Stefan Bühler
0adefe5f18
[mod_memcached] convert to handling key-value list
10 years ago
Stefan Bühler
9430a8a112
[mod_deflate] convert to handling key-value list
10 years ago
Stefan Bühler
9e71dc6890
[core] li_value_to_string: use => for separating hash keys and values like the config
10 years ago
Stefan Bühler
d825212823
[mod_lua] convert to handling key-value list
10 years ago
Stefan Bühler
5fb031a910
[tests] run config test with valgrind too if enabled
10 years ago
Stefan Bühler
32e91a9e8a
[core] handle NULL values in li_value_extract* functions
10 years ago
Stefan Bühler
a14d0d00a5
[mod_auth] convert to handling key-value list
10 years ago