This website requires JavaScript.
10303a70b1
[core] fix potential use-after-free after li_job_reset
master
Stefan Bühler
2025-01-06 11:28:47 +01:00
e966bbbcf7
[build] fix ci-macos: pycurl, libev, keg-only packages
Stefan Bühler
2024-12-26 00:35:16 +01:00
2306c26ec9
[build] accept and prefer lua 5.4, then 5.3, then 5.1
Stefan Bühler
2025-01-05 14:26:54 +01:00
9737e7a057
[tests] append ".test"-suffix to vhost names, recreate test CA with wildcard and client certificate
Stefan Bühler
2025-01-01 14:36:06 +01:00
b183301a62
[lua] disable undocumented vr:subrequest(..)
Stefan Bühler
2025-01-01 11:13:46 +01:00
1561ceaa97
[lua] rework handling of environment (i.e. globals)
Stefan Bühler
2024-12-28 19:38:27 +01:00
1c79b9c879
[lua] rename li_lua_push_lvalues_dict to li_lua_set_global_condition_lvalues
Stefan Bühler
2024-12-28 18:40:44 +01:00
39afc6e0a2
[tests] lua: make show_env_info function local
Stefan Bühler
2025-01-05 14:12:18 +01:00
5f14705f4c
[mod_lua] fix error handler stack position when calling lua "setups"
Stefan Bühler
2024-12-28 18:38:16 +01:00
60e2ada142
[lua] use luaL_checkinteger instead of luaL_checkint (deprecated in lua5.3)
Stefan Bühler
2024-12-27 21:01:27 +01:00
35ad3e0f6c
[lua] use lua5.2+ lua_rawlen instead of lua_objlen
Stefan Bühler
2024-12-27 21:00:38 +01:00
96f43af312
[lua] add li_lua_equal wrapper to use lua_compare on lua5.2 instead of lua_equal
Stefan Bühler
2024-12-27 20:56:53 +01:00
c73bbae2a0
[lua] replace lua5.1 luaL_register with wrapper for lua5.2 luaL_setfuncs
Stefan Bühler
2024-12-27 20:52:03 +01:00
e88bb171f1
[lua] get rid of lua_getfenv when modifying env for request context _G for lua actions
Stefan Bühler
2024-12-27 20:42:45 +01:00
0de5da97c8
[lua] provide li_lua_setfenv for lua5.2+
Stefan Bühler
2024-12-27 20:20:59 +01:00
333aecdd79
[lua] make remaining LUA_GLOBALSINDEX usages to manage global environment lua5.2+ compatible
Stefan Bühler
2024-12-27 20:20:25 +01:00
8aeb14ab3d
[mod_lua] LUA_GLOBALSINDEX should be the default environment of a new function, no need to set it
Stefan Bühler
2024-12-27 20:02:32 +01:00
e93c264981
[lua] get rid of LUA_GLOBALSINDEX in lua_settop_in_dicts
Stefan Bühler
2024-12-27 19:47:46 +01:00
6c9508cf8f
[lua] use protected call to "tostring" in li_lua_print_get_string
Stefan Bühler
2024-12-27 19:38:24 +01:00
6e4a9f751b
[lua] use lua_{get,set}global instead of lua_{get,set}field with LUA_GLOBALSINDEX
Stefan Bühler
2024-12-27 19:12:28 +01:00
87290a137b
[mod_openssl] allow separate key/cert files and multiple pemfile options
Stefan Bühler
2024-12-25 23:33:10 +01:00
36aa0ea1a6
recreate test CA for next 10 years
Stefan Bühler
2024-12-25 23:53:03 +01:00
1735f5524f
[core] fix GError leak
Stefan Bühler
2024-02-06 14:27:17 +01:00
2b4e6d3a4d
[build] add .github workflow
Stefan Bühler
2024-01-13 15:23:51 +01:00
d9e4b2e4d7
[tests] try to use shorter socket filenames
Stefan Bühler
2024-01-13 19:35:21 +01:00
643514a9c7
[core] recent g_module_open handles lib prefix and suffixes better; try that first
Stefan Bühler
2024-01-13 17:22:49 +01:00
7c2d19ed24
[core] add proper error handling to li_module_load
Stefan Bühler
2024-01-13 17:21:38 +01:00
b0ffa8417c
[meson] install lua files only if lua was enabled (fixes #3227 )
Stefan Bühler
2023-10-03 00:04:06 +02:00
14679eedb7
[meson] fix module dependencies (must be a list)
Stefan Bühler
2023-10-02 18:50:12 +02:00
a9725af5f3
[meson] fix building without unwind (optional dependency)
Stefan Bühler
2023-10-02 18:39:20 +02:00
c673e5b638
[plugin_core] always enforce directory handling of aliases
Stefan Bühler
2023-09-14 13:33:57 +02:00
7c926c9245
[meson] compiler.has_type requires meson 1.0 to use array for prefix - join manually to support meson 0.61
Stefan Bühler
2023-09-14 12:21:22 +02:00
f1bf458341
[meson] rename shared libs to what autobuild created
Stefan Bühler
2023-09-11 20:45:59 +02:00
727ec90417
[autobuild] drop autobuild
Stefan Bühler
2023-09-11 18:12:55 +02:00
1fffbd1a9e
[automake] include meson files
Stefan Bühler
2023-09-11 17:34:24 +02:00
7f843c75a6
[cmake] drop cmake support - use meson instead
Stefan Bühler
2023-09-11 17:20:35 +02:00
232e1837bd
[mod_openssl] drop support for openssl1.0 and older (probably includes libressl)
Stefan Bühler
2023-09-11 17:16:33 +02:00
c60df4f141
[mod_openssl] support openssl3 ECDH curve selection
Stefan Bühler
2023-09-11 17:01:17 +02:00
ec60ea02fd
[mod_openssl] support openssl3 DH parameter loading
Stefan Bühler
2023-09-11 16:08:41 +02:00
10f54c2d83
[core] don't release mainaction before stopping workers
Stefan Bühler
2023-09-08 15:45:54 +02:00
dca280076b
[angel] improve instance related logging
Stefan Bühler
2023-09-08 15:24:51 +02:00
522a9e221b
[angel] improve startup/stop logging
Stefan Bühler
2023-09-08 15:13:52 +02:00
a19d73ecd5
[angel] server_module not shared anymore, drop refcount handling
Stefan Bühler
2023-09-08 15:09:00 +02:00
0ced2aa60a
[angel] remove config reload handling, don't unload plugins while instance is running
Stefan Bühler
2023-09-08 14:57:04 +02:00
b4102fed4c
[angel] move plugin core types to implementation
Stefan Bühler
2023-09-08 14:17:54 +02:00
87a7339b49
[angel] fix small memory leak from config loading
Stefan Bühler
2023-09-08 15:07:08 +02:00
23164d557f
[mod_progress] accept any 2xx status codes as success (fixes #2357 )
Stefan Bühler
2023-07-23 02:03:44 +02:00
184efd18f7
[doc] fix typo in email address
Stefan Bühler
2023-07-16 19:02:50 +02:00
bb473ed334
[mimetypes.conf] adding new mimetypes
Stefan Bühler
2023-07-13 01:37:30 +02:00
3a34f793cd
[mimetypes.conf] dropping some mimetypes
Stefan Bühler
2023-07-13 01:37:24 +02:00
b9efcc316e
[mimetypes.conf] changing various mimetypes (text/javascript and others)
Stefan Bühler
2023-07-13 01:36:23 +02:00
698c1a54ef
[doc] update my email address
Stefan Bühler
2023-07-13 01:00:01 +02:00
6d7d0b784c
[doc] convert http:// to https:// links if valid
Stefan Bühler
2023-07-13 00:59:18 +02:00
29d4a1543d
[doc] convert from textile to markdown; don't allow simple text in section/description anymore
Stefan Bühler
2023-07-13 00:14:37 +02:00
7472bb4b18
[tests] fix cleanup if prepare fails
Stefan Bühler
2023-07-12 17:00:07 +02:00
69ca252e48
[tests] chmod -x tests/pylt/run.py
Stefan Bühler
2023-07-12 16:58:35 +02:00
77f9f06c2a
[tests] disable non-prefix crypt auth (deprecated, not available on all platforms)
Stefan Bühler
2023-07-12 16:56:21 +02:00
dd17dcc380
[crypt] some crypt[_r] implementations return NULL instead of a failure token; li_safe_crypt returns FALSE in that case (and clears the buffer)
Stefan Bühler
2023-07-12 15:51:39 +02:00
52b19412af
fix glib g_string_append_len usage (broken with GSTR_LEN macro)
Stefan Bühler
2023-07-11 00:27:47 +02:00
0c3ee6741d
[build] add meson support
Stefan Bühler
2023-01-15 18:59:27 +01:00
10586541b5
[tests] remove concept of feature_check - always test everything
Stefan Bühler
2023-01-15 12:14:15 +01:00
c691084b48
[tests] use local fcgi-cgi written in python
Stefan Bühler
2023-01-15 12:12:37 +01:00
24025686d4
[core] stream plug should forward "abort" to dest (source disconnect before closing)
Stefan Bühler
2023-01-08 14:29:17 +01:00
0ff166282f
[core] stream plug should stop when source disconnects too
Stefan Bühler
2023-01-08 01:25:37 +01:00
56aae45f6d
[mod_debug] support repeating output of pending events on stop
Stefan Bühler
2023-01-07 19:54:11 +01:00
42d554bd3e
[angel] fix use-after-free of cached listening sockets
Stefan Bühler
2023-01-07 15:43:43 +01:00
6791ccbaec
[angel] fix handling of notifications on worker stop
Stefan Bühler
2023-01-07 15:40:49 +01:00
87e125bffa
[tests] package moved python files
Stefan Bühler
2023-01-07 13:59:00 +01:00
cbcc2e48a9
[core] use union of sockaddr_* pointers instead of pointer to storage union
Stefan Bühler
2023-01-07 13:38:08 +01:00
5a02032485
[tests] refactor python tests
Stefan Bühler
2023-01-06 19:56:31 +01:00
a5e8c80bf8
[tests] reorganize python tests
Stefan Bühler
2023-01-05 01:19:14 +01:00
f046f4fac1
[core] improve comments
Stefan Bühler
2023-01-04 20:38:59 +01:00
a615411747
fix spelling
Stefan Bühler
2023-01-04 20:00:11 +01:00
b96d2495f4
[core] remove HEDLEY_FALL_THROUGH from empty case
Stefan Bühler
2023-01-05 00:33:34 +01:00
2879d7ccc2
[tests] use raw tcp for bad url request test
Stefan Bühler
2023-01-05 01:53:19 +01:00
29e57d3005
[core] re-enable listening sockets
personal/stbuehler/wip
Stefan Bühler
2021-09-15 12:15:58 +02:00
2ae359b04a
[doc] fix ino/dev field in lua stat, add lighty.path_simplify to global methods
Stefan Bühler
2021-08-12 17:12:04 +02:00
f25bc4106f
[core] fix li_path_simplify comment: always operating in-place
Stefan Bühler
2021-08-12 17:11:28 +02:00
ad66680e62
[core] put HEDLEY_NO_RETURN at front of declaration
Stefan Bühler
2021-08-08 16:26:52 +02:00
ff500e9c8b
[core] use IPPROTO_TCP instead of SOL_TCP for TCP_FASTOPEN (#3071 )
Stefan Bühler
2021-08-08 14:34:47 +02:00
b006006131
[core] support workers.cpu_affinity on FreeBSD (#3071 )
Stefan Bühler
2021-08-08 14:26:46 +02:00
a5c2238277
[core] check cpu index in cpu_affinity handling
Stefan Bühler
2021-08-08 14:25:35 +02:00
54d7b46774
[lua] protect setup and action metatable
Stefan Bühler
2021-08-05 17:10:46 +02:00
3bf903c398
[lua] provide and use li_lua_new_protected_metatable to prevent tampering with metatables
Stefan Bühler
2021-08-05 16:06:48 +02:00
53337c81d4
[lua] prevent tampering with global "lighty" table
Stefan Bühler
2021-08-05 15:27:44 +02:00
5977493f47
[lua] one li_lua_init_*_mt function per "file", add a few missing ones
Stefan Bühler
2021-08-05 14:45:54 +02:00
7aec09dd27
[lua] split all metatable init/create code into separate functions
Stefan Bühler
2021-08-05 11:23:03 +02:00
4a4fd8fd11
[core] include and use hedley (v15) header
Stefan Bühler
2021-08-05 12:29:46 +02:00
b41e02860c
[mod_proxy] fall back to waiting for connection close if no message length indicator is found in HTTP/1.1 response
Stefan Bühler
2021-07-18 11:59:15 +02:00
b033a4fcb4
[test] enable TestRedirectDirWithQueryAndSpecialChars
Stefan Bühler
2021-05-03 23:26:51 +02:00
140a3c9018
fix refcount issue: don't drop rc in li_iostream_reset
Stefan Bühler
2021-05-03 23:24:45 +02:00
850aea7a5d
[build] enable all "main" features by default
Stefan Bühler
2021-02-28 20:02:44 +01:00
21865cbbd2
[autobuild] install and use glib tap helpers, replaces gtester
Stefan Bühler
2021-02-28 19:15:55 +01:00
2a4744a677
[autobuild] raise autoconf min version, fix various deprecated macros
Stefan Bühler
2021-02-28 19:35:24 +01:00
c8bf635551
[tests] fix memcached and scgi-envcheck for python3; use asyncio
Stefan Bühler
2021-02-28 16:24:14 +01:00
98ea1dc7de
[contrib] add overrides for new mime types, regenerate mimetypes.conf
Stefan Bühler
2021-01-05 20:44:20 +01:00
424e1a37f8
[core] Reset con->out (response body) queue counters (used by mod_accesslog) for keep-alive
Stefan Bühler
2021-02-28 10:54:05 +01:00
d544ee105d
[core] docs say empty log targets request not logging; actually implement that (went to stderr)
Stefan Bühler
2021-02-28 11:49:08 +01:00
7a343d4765
[mod_acceslog]: fix log target reference in docs
Stefan Bühler
2021-02-28 11:45:03 +01:00
a5d3e11c1f
[tests] add tests for mod_dirlist
Stefan Bühler
2020-06-22 19:59:03 +02:00