Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
189c008bcac457dd9d82ef41a50800ee39ea5f02
/
src
/
hlua.c
868b3b1
BUG/MEDIUM: hlua: Don't set EOM flag on an empty HTX message in HTTP applet
by Christopher Faulet
· Thu Apr 07 10:07:18 2022 +0200
79c0fc7
BUG/MINOR: hlua: Set conn-stream/channel EOI flags at the end of request
by Christopher Faulet
· Mon Mar 07 15:50:54 2022 +0100
e00ad05
BUG/MEDIUM: lua: fix memory leaks with realloc() on non-glibc systems
by Willy Tarreau
· Fri Oct 22 16:00:02 2021 +0200
790810f
BUG/MAJOR: lua: use task_wakeup() to properly run a task once
by Willy Tarreau
· Thu Sep 30 16:17:37 2021 +0200
9cc2e4c
BUG/MEDIUM: lua: fix wakeup condition from sleep()
by Willy Tarreau
· Thu Sep 30 16:12:31 2021 +0200
42afc59
BUILD: ssl: fix two remaining occurrences of #if USE_OPENSSL
by Willy Tarreau
· Mon Aug 30 09:35:18 2021 +0200
3b7bc3e
BUG/MINOR: lua: Don't yield in channel.append() and channel.set()
by Christopher Faulet
· Fri Aug 06 09:59:49 2021 +0200
055310f
BUG/MINOR: lua: Yield in channel functions only if lua context can yield
by Christopher Faulet
· Thu Aug 05 11:58:37 2021 +0200
a6e792f
MINOR: lua: Add a flag on lua context to know the yield capability at run time
by Christopher Faulet
· Wed Aug 04 17:58:21 2021 +0200
fa92f36
BUG/MINOR: lua: use strlcpy2() not strncpy() to copy sample keywords
by Willy Tarreau
· Thu Aug 26 16:48:53 2021 +0200
3eb2e47
MINOR: hlua: take the global Lua lock inside a global function
by Willy Tarreau
· Fri Aug 20 15:47:25 2021 +0200
69c66e3
BUILD: lua: silence a build warning with TCC
by Willy Tarreau
· Wed Jul 14 19:41:25 2021 +0200
3d6ee40
BUILD: hlua: include proxy.h from hlua.c
by Willy Tarreau
· Sat May 08 20:28:07 2021 +0200
e4a617c
MINOR: action: replace match_pfx by a keyword flags field
by Amaury Denoyelle
· Thu May 06 15:33:09 2021 +0200
c31b200
BUG/MINOR: hlua: Don't rely on top of the stack when using Lua buffers
by Christopher Faulet
· Mon May 03 10:11:13 2021 +0200
7e702d1
CLEANUP: hlua: rename hlua_appctx* appctx to luactx
by Willy Tarreau
· Wed Apr 28 17:59:21 2021 +0200
bd878d2
BUG/MINOR: hlua: Don't consume headers when starting an HTTP lua service
by Christopher Faulet
· Wed Apr 28 10:50:21 2021 +0200
2b71810
CLEANUP: lists/tree-wide: rename some list operations to avoid some confusion
by Willy Tarreau
· Wed Apr 21 07:32:39 2021 +0200
3a9a12b
BUG/MINOR: hlua: Fix memory leaks on error path when registering a cli keyword
by Christopher Faulet
· Mon Apr 12 15:31:29 2021 +0200
5c028d7
BUG/MINOR: hlua: Fix memory leaks on error path when registering a service
by Christopher Faulet
· Mon Apr 12 15:11:44 2021 +0200
4fc9da0
BUG/MINOR: hlua: Fix memory leaks on error path when registering an action
by Christopher Faulet
· Mon Apr 12 15:08:12 2021 +0200
528526f
BUG/MINOR: hlua: Fix memory leaks on error path when parsing a lua action
by Christopher Faulet
· Mon Apr 12 14:37:32 2021 +0200
2567f18
BUG/MINOR: hlua: Fix memory leaks on error path when registering a fetch
by Christopher Faulet
· Mon Apr 12 14:11:50 2021 +0200
aa22430
BUG/MINOR: hlua: Fix memory leaks on error path when registering a converter
by Christopher Faulet
· Mon Apr 12 14:08:21 2021 +0200
5294ec0
BUG/MINOR: hlua: Fix memory leaks on error path when registering a task
by Christopher Faulet
· Mon Apr 12 12:24:47 2021 +0200
dda4444
MINOR: hlua: Add function to release a lua function
by Christopher Faulet
· Mon Apr 12 14:05:43 2021 +0200
4781b15
CLEANUP: atomic/tree-wide: replace single increments/decrements with inc/dec
by Willy Tarreau
· Tue Apr 06 13:53:36 2021 +0200
eccb31c
BUG/MINOR: hlua: Detect end of request when reading data for an HTTP applet
by Christopher Faulet
· Fri Apr 02 14:24:56 2021 +0200
1bb6afa
MINOR: stream: Use stream type instead of proxy mode when appropriate
by Christopher Faulet
· Mon Mar 08 17:57:53 2021 +0100
704ba1d
MINOR: lua: properly allocate the lua Socket servers
by Amaury Denoyelle
· Wed Mar 24 17:57:47 2021 +0100
239fdbf
MINOR: lua: properly allocate the lua Socket proxy
by Amaury Denoyelle
· Wed Mar 24 10:22:03 2021 +0100
1e8433f
BUG/MEDIUM: lua: Always init the lua stack before referencing the context
by Christopher Faulet
· Wed Mar 24 15:03:01 2021 +0100
cc2c4f8
BUG/MEDIUM: debug/lua: Use internal hlua function to dump the lua traceback
by Christopher Faulet
· Wed Mar 24 14:52:24 2021 +0100
d09cc51
MINOR: lua: Slightly improve function dumping the lua traceback
by Christopher Faulet
· Wed Mar 24 14:48:45 2021 +0100
a61789a
MEDIUM: lua: Use a per-thread counter to track some non-reentrant parts of lua
by Christopher Faulet
· Fri Mar 19 15:16:28 2021 +0100
0182516
CLEANUP: config: make the cfg_keyword parsers take a const for the defproxy
by Willy Tarreau
· Tue Mar 09 09:53:46 2021 +0100
d4e78d8
MINOR: server: move actconns to the per-thread structure
by Willy Tarreau
· Thu Mar 04 10:47:54 2021 +0100
430bf4a
MINOR: server: allocate a per-thread struct for the per-thread connections stuff
by Willy Tarreau
· Thu Mar 04 09:45:32 2021 +0100
198e92a
MINOR: server: add a global list of all known servers
by Willy Tarreau
· Fri Mar 05 10:23:32 2021 +0100
0f143af
CLEANUP: lua: set a dummy file name and line number on the dummy servers
by Willy Tarreau
· Fri Mar 05 10:41:48 2021 +0100
144f84a
MEDIUM: task: extend the state field to 32 bits
by Willy Tarreau
· Tue Mar 02 16:09:26 2021 +0100
751153e
OPTIM: server: switch the actconn list to an mt-list
by Willy Tarreau
· Wed Feb 17 13:33:24 2021 +0100
f232cb3
MEDIUM: connection: replace idle conn lists by eb trees
by Amaury Denoyelle
· Wed Jan 06 16:14:12 2021 +0100
d1ac2b9
MAJOR: htx: Remove the EOM block type and use HTX_FL_EOM instead
by Christopher Faulet
· Wed Dec 02 19:12:22 2020 +0100
42432f3
MINOR: htx: Rename HTX_FL_EOI flag into HTX_FL_EOM
by Christopher Faulet
· Fri Nov 20 17:43:16 2020 +0100
f4c12d4
BUILD/MINOR: lua: define _GNU_SOURCE for LLONG_MAX
by Bertrand Jacquin
· Thu Jan 21 21:14:07 2021 +0000
80839ff
MINOR: lua: remove unused variable
by Bertrand Jacquin
· Thu Jan 21 19:14:46 2021 +0000
8f0cc5c
CLEANUP: Fix spelling errors in comments
by Thayne McCombs
· Thu Jan 07 21:35:52 2021 -0700
2258652
BUG/MINOR: hlua: Fix memory leak in hlua_alloc
by Tim Duesterhus
· Fri Jan 08 10:35:33 2021 +0100
b8888ab
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Wed Jan 06 21:20:16 2021 +0500
e5ff141
CLEANUP: Compare the return value of `XXXcmp()` functions with zero
by Tim Duesterhus
· Sat Jan 02 22:31:53 2021 +0100
f89d43a
MINOR: lua: Use consistent error message 'memory allocation failed'
by Tim Duesterhus
· Sun Jan 03 20:04:37 2021 +0100
621e74a
BUG/MINOR: lua: Fix memory leak error cases in hlua_config_prepend_path
by Tim Duesterhus
· Sun Jan 03 20:04:36 2021 +0100
26256f8
MINOR: stream: Pass an optional input buffer when a stream is created
by Christopher Faulet
· Mon Sep 14 11:40:13 2020 +0200
186f376
BUG/MINOR: lua-thread: close all states on deinit
by Willy Tarreau
· Fri Dec 04 11:48:12 2020 +0100
aafc777
BUG/MEDIUM: lua-thread: some parts must be initialized once
by Thierry Fournier
· Fri Dec 04 11:47:47 2020 +0100
46278ff
MINOR: lua-thread: Add verbosity in errors
by Thierry Fournier
· Sun Nov 29 11:48:12 2020 +0100
59f11be
MEDIUM: lua-thread: Add the lua-load-per-thread directive
by Thierry Fournier
· Sun Nov 29 00:37:41 2020 +0100
c749259
MINOR: lua-thread: Store each function reference and init reference in array
by Thierry Fournier
· Sat Nov 28 23:57:24 2020 +0100
021d986
MINOR: lua-thread: Replace state_from by state_id
by Thierry Fournier
· Sat Nov 28 23:42:03 2020 +0100
62a22aa
MINOR: lua-thread: Replace "struct hlua_function" allocation by dedicated function
by Thierry Fournier
· Sat Nov 28 21:06:35 2020 +0100
afc63e2
MINOR: lua-thread: Replace global gL var with an array of states
by Thierry Fournier
· Sat Nov 28 17:06:51 2020 +0100
7cbe504
MEDIUM: lua-thread: Apply lock only if the parent state is the main thread
by Thierry Fournier
· Sat Nov 28 17:02:21 2020 +0100
3c53932
MEDIUM: lua-thread: No longer use locked context in initialization parts
by Thierry Fournier
· Sat Nov 28 16:05:05 2020 +0100
ecb83c2
MINOR: lua-thread: Add the "thread" core variable
by Thierry Fournier
· Sat Nov 28 15:49:44 2020 +0100
b8cef17
MINOR: lua-thread: Split hlua_post_init() function in two parts
by Thierry Fournier
· Sat Nov 28 15:37:17 2020 +0100
c93c15c
MINOR: lua-thread: Split hlua_load function in two parts
by Thierry Fournier
· Sat Nov 28 15:02:13 2020 +0100
75fc029
MINOR: lua-thread: make hlua_ctx_init() get L from its caller
by Thierry Fournier
· Sat Nov 28 13:18:56 2020 +0100
1eac28f
MINOR: lua-thread: Split hlua_init() function in two parts
by Thierry Fournier
· Sat Nov 28 12:26:24 2020 +0100
ad5345f
MINOR: lua-thread: Replace embedded struct hlua_function by a pointer
by Thierry Fournier
· Sun Nov 29 02:05:57 2020 +0100
92689e6
MINOR: lua-thread: Stop usage of struct hlua for the global lua state
by Thierry Fournier
· Sat Nov 28 11:21:25 2020 +0100
4234dbd
MINOR: lua-thread: Use NULL context for main lua state
by Thierry Fournier
· Sat Nov 28 13:18:23 2020 +0100
9eb3230
MINOR: lua-thread: hlua_ctx_renew() is never called with main gL lua state
by Thierry Fournier
· Sat Nov 28 11:15:14 2020 +0100
670db24
MEDIUM: lua-thread: make hlua_post_init() no longer use the runtime execution function
by Thierry Fournier
· Sat Nov 28 10:49:59 2020 +0100
3fb9e51
MINOR: lua-thread: remove struct hlua from function hlua_prepend_path()
by Thierry Fournier
· Sat Nov 28 10:13:12 2020 +0100
cdb5346
MEDIUM: lua-thread: use atomics for memory accounting
by Willy Tarreau
· Wed Dec 02 12:12:00 2020 +0100
d36c7fa
MINOR: lua: simplify hlua_alloc() to only rely on realloc()
by Willy Tarreau
· Wed Dec 02 12:26:29 2020 +0100
f67442e
BUG/MINOR: lua: warn when registering action, conv, sf, cli or applet multiple times
by Thierry Fournier
· Sat Nov 28 20:41:07 2020 +0100
2f05cc6
BUG/MINOR: lua: Some lua init operation are processed unsafe
by Thierry Fournier
· Sat Nov 28 16:08:02 2020 +0100
13d08b7
BUG/MINOR: lua: Post init register function are not executed beyond the first one
by Thierry Fournier
· Sat Nov 28 11:02:58 2020 +0100
77a8894
BUG/MINOR: lua: lua-load doesn't check its parameters
by Thierry Fournier
· Sun Nov 29 01:06:24 2020 +0100
de6145f
BUG/MINOR: lua: missing "\n" in error message
by Thierry Fournier
· Sun Nov 29 00:55:53 2020 +0100
91dc0c0
BUG/MINOR: lua: set buffer size during map lookups
by Thierry Fournier
· Tue Nov 10 20:38:20 2020 +0100
bc0af6a
BUG/MINOR: lua: initialize sample before using it
by Amaury Denoyelle
· Thu Oct 29 17:21:20 2020 +0100
9b7587a
MINOR: connection: make sockaddr_alloc() take the address to be copied
by Willy Tarreau
· Thu Oct 15 07:32:10 2020 +0200
f98d821
MINOR: hlua: Display debug messages on stderr only in debug mode
by Christopher Faulet
· Fri Oct 02 18:13:52 2020 +0200
5fc9328
MINOR: tools: make str2sa_range() directly return the protocol
by Willy Tarreau
· Wed Sep 16 18:25:03 2020 +0200
a93e5c7
MINOR: tools: make str2sa_range() optionally return the fd
by Willy Tarreau
· Tue Sep 15 14:01:16 2020 +0200
3281993
MINOR: tools: add several PA_O_* flags in str2sa_range() callers
by Willy Tarreau
· Fri Sep 04 15:53:16 2020 +0200
8b0fa8f
MEDIUM: config: remove all checks for missing/invalid ports/ranges
by Willy Tarreau
· Tue Sep 15 11:52:23 2020 +0200
8095876
MINOR: tools: add several PA_O_PORT_* flags in str2sa_range() callers
by Willy Tarreau
· Tue Sep 15 10:30:39 2020 +0200
e52b6e5
CLEANUP: Do not use a fixed type for 'sizeof' in 'calloc'
by Tim Duesterhus
· Sat Sep 12 20:26:43 2020 +0200
77016da
MINOR: hlua: Add error message relative to the Channel manipulation and HTTP mode
by Thierry Fournier
· Sat Aug 15 14:35:51 2020 +0200
6ad7df4
MINOR: arg: Use chunk_destroy() to release string arguments
by Christopher Faulet
· Fri Aug 07 11:45:18 2020 +0200
fd2e906
MINOR: lua: Add support for regex as fetches and converters arguments
by Christopher Faulet
· Thu Aug 06 11:10:57 2020 +0200
d25d926
MINOR: lua: Add support for userlist as fetches and converters arguments
by Christopher Faulet
· Thu Aug 06 11:04:46 2020 +0200
05e2d77
MEDIUM: lua: Don't filter exported fetches and converters
by Christopher Faulet
· Thu Aug 06 10:32:28 2020 +0200
aec27ef
BUG/MINOR: lua: Duplicate lua strings in sample fetches/converters arg array
by Christopher Faulet
· Thu Aug 06 08:54:25 2020 +0200
fdea1b6
MINOR: hlua: Don't needlessly copy lua strings in trash during args validation
by Christopher Faulet
· Thu Aug 06 08:29:18 2020 +0200
e663a6e
BUG/MINOR: lua: Check argument type to convert it to IP mask in arg validation
by Christopher Faulet
· Fri Aug 07 09:11:22 2020 +0200
Next »