Stefan Bühler
66bd6b22a2
track event "names" for debugging
...
Change-Id: Ib8f2b589a6087de2355906a87bd2cd0c84bafcba
8 years ago
Stefan Bühler
a5886b3a81
[mod_openssl] various fixes, fix error handling
...
- update docs with default options
- always set "session_id_context"
- load all algorithms
- cleanup error handling (abort on fatal errors, not the other way
round, log non fatal errors in debug log-level)
Change-Id: I2b6028bbe97a237ab94ad00d58c7773d9d3d8830
8 years ago
Stefan Bühler
10305546cb
[core] close out stream nicely on regular shutdown (fixes openssl session problem)
...
Change-Id: Iaac73fa64c03225751c4492b5c690094f3d6e97f
8 years ago
Stefan Bühler
f144349c72
[mod_openssl] allow all authentication methods in default cipher string
...
The details depend on the server key anyway; with the new default string
ecdsa keys work out of the box.
Change-Id: I7229f899ffd8dca5740767f9832980198b4f7bee
8 years ago
Stefan Bühler
fc02dcf9e2
[mod_gnutls] improve alert handling
...
* print alerts with numerical value
* show non-fatal alerts
* use log level info for all alerts
* use log level warning for non-fatal "unknown" errors
Change-Id: Ibaa33743bfe809579981fdeb121955ef5c6d0ab2
8 years ago
Nikos Mavrogiannopoulos
91060ebe91
[mod_gnutls] allow pemfile to accept a key-value list of a certificate and key
...
In addition, this patch adds the ability to specify a PIN,
to be used to decrypt an encrypted key, or to login to a PKCS #11
module.
Change-Id: Iff36879926236d07be6baaa1736985a58c54d0cc
9 years ago
Nikos Mavrogiannopoulos
344e918f05
[mod_gnutls] when an alert is received print its actual value
...
Change-Id: I89b12cb5e53cbd0d36d9b30d9a7e99aa70836717
9 years ago
Stefan Bühler
72011fbede
[mox_rewrite,mod_proxy,docs] fix request.raw_path handling (includes query-string)
9 years ago
Stefan Bühler
b5eac15433
[mod_proxy] use raw_path instead of re-encoded path
9 years ago
Stefan Bühler
76c12e4077
[mod_rewrite] rewrite_raw result gets decoded
9 years ago
Stefan Bühler
4c741ce853
[core] expose request.raw_path as condition variable
9 years ago
Stefan Bühler
e168e0653c
[docs] fix typos, add some details, add rewrite_raw action
9 years ago
Stefan Bühler
dd9f052c57
[mod_gnutls] remove broken include
9 years ago
Stefan Bühler
d58d98a62d
[value] move value functions that depend on angel / main implementations into separate file, included in the other implementations
...
this fixes building with --no-undefined. also link with libm in cmake.
9 years ago
Stefan Bühler
928d5dcb5e
[angel] don't load angel core plugin for shut down, so the core plugin doesn't respawn a worker with default settings
9 years ago
Stefan Bühler
c30060e0eb
[angel] check setgid/setuid/... return values and abort on failure
9 years ago
Stefan Bühler
09002ad827
[mod_openssl] fix default cipher string
9 years ago
Stefan Bühler
5e30919291
[mod_openssl] wrap all options in #ifdef
9 years ago
Stefan Bühler
b6ee9241ad
[angel_fake] use li_sockaddr_from_string in li_angel_fake_listen
9 years ago
Stefan Bühler
5f4019359e
[config parser] copy fixes from angel config parser
9 years ago
Stefan Bühler
63f4b78353
fix some socket address handlings - limit unix socket path names to struct size
9 years ago
Stefan Bühler
5b706ac033
[simple-stream] fix double assignment
9 years ago
Stefan Bühler
21e18176f2
fix wrong operator to check for set bit in events
9 years ago
Stefan Bühler
ed7e70d0b4
[angel] fix missing break in switch statement in config parser for casting string to int
9 years ago
Stefan Bühler
3ad9e4cb01
[actions] fix dereference before null check
9 years ago
Stefan Bühler
acd2967534
assert many previously unchecked return values, handle some explicitly, remove FD_CLOEXEC in worker - mustn't fork
9 years ago
Stefan Bühler
582a8585ff
[fastcgi] assert pointer is not NULL before dereference before NULL check in a loop
9 years ago
Stefan Bühler
118844573c
[angel] fix memory leak on error in angel config parser
9 years ago
Stefan Bühler
176d6099aa
[liValue] fix missing break in switch statement
9 years ago
Stefan Bühler
e5e37b8369
[idlist] fix bad shift operations
9 years ago
Stefan Bühler
419d60dd83
[profile] add missing utils.h include
9 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
e2992d7b6b
[ip-parser] allow [ipv6]/net:port and [ipv6/net]:port for IPv6 address + network + port
9 years ago
Stefan Bühler
074f53744a
[angel] merge allow_listen_* items
...
* allow_listen_ip ".." -> allow_listen ".."
* allow_listen_unix ".." -> allow_listen "unix:.."
* allow_listen also takes lists of strings
9 years ago
Stefan Bühler
22d186cecc
[angel] rewrite config handling, rename items, document it
...
* remove "instance { ... }" wrapping
* use "_" instead of "-"
* modules -> modules_path
* allow_listen { ip "..."; } -> allow_listen_ip "...";
* allow_listen { unix "..."; } -> allow_listen_unix "...";
9 years ago
Stefan Bühler
01788a7250
[common] remove hash value type (use key/value lists instead)
9 years ago
Stefan Bühler
dfaab291d9
[angel] rewrite parser, changing syntax (similar to main config)
9 years ago
Stefan Bühler
84325a5a06
[backends: scgi,proxy,fastcgi] update *context immediately after *backend_get
...
- fixes use-after-free, usually caught by an assert in
li_backend_wait_stop
9 years ago
Stefan Bühler
b5edda3bf4
[plugin_core] fix index "/filename" handling
9 years ago
Stefan Bühler
ec6600271a
[config] fix conditional parsing
...
conditional expressions include values to compare with; any
complicated value expression must be put into parantheses.
-> stop parsing after a simple value, don't search for operators,
"and"/"or" operators are handled by the conditional
9 years ago
Stefan Bühler
db58828e0b
[common] refactor liValue to share most of the code
...
* removing unused "range" value type in angel
9 years ago
Stefan Bühler
23be07f40c
[mod_gnutls] don't abort if 'NORMAL:-CIPHER-ALL:+ARCFOUR-128' is not recognized, use 'NORMAL' instead
9 years ago
Stefan Bühler
133941c327
[mod_status] use PACKAGE_BUILD_DATE instead of __DATE__/__TIME__
9 years ago
Stefan Bühler
d529150a9b
[autotools] remove generated ragel parsers from dist
9 years ago
Stefan Bühler
c3b715dae1
remove old test file
9 years ago
Stefan Bühler
f482877825
[doc] document core config and modules in tree
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
9 years ago
Stefan Bühler
0d40b25d19
[config] fix missing reference (segfault on shutdown)
10 years ago
Stefan Bühler
7d22354772
[config] fix cast(string)
10 years ago