Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
refs/tags/v2.4.24
/
src
/
hlua.c
tag
5387796d854c723061c389487a7eb9766f62513b
tagger
Willy Tarreau <w@1wt.eu>
Sat Aug 19 11:25:53 2023 +0200
object
d1756705e7928198062b8c5afece6f4407e5c737
HAProxy 2.4.24
bdd336c
BUG/MINOR: hlua: add check for lua_newstate
by firexinghe
· 12 months ago
f5d3b31
BUG/MINOR: hlua: hlua_yieldk ctx argument should support pointers
by Aurelien DARRAGON
· 12 months ago
5483bde
BUG/MEDIUM: hlua: prevent deadlocks with main lua lock
by Aurelien DARRAGON
· 1 year, 4 months ago
e00bf5d
MINOR: hlua: simplify lua locking
by Aurelien DARRAGON
· 1 year, 4 months ago
93591b4
BUG/MINOR: hlua: fix reference leak in hlua_post_init_state()
by Aurelien DARRAGON
· 1 year, 4 months ago
b6aade3
BUG/MINOR: hlua: fix reference leak in core.register_task()
by Aurelien DARRAGON
· 1 year, 4 months ago
5ce1152
MINOR: hlua: add simple hlua reference handling API
by Aurelien DARRAGON
· 1 year, 4 months ago
2933f26
CLEANUP: Remove unused function hlua_get_top_error_string
by Tim Duesterhus
· 2 years, 2 months ago
ddc9032
MINOR: lua: Add a function to get a reference on a table in the stack
by Christopher Faulet
· 4 years, 4 months ago
d39fb74
BUG/MINOR: hlua: unsafe hlua_lua2smp() usage
by Aurelien DARRAGON
· 1 year, 2 months ago
d5c8a10
CLEANUP: hlua: fix conflicting comment in hlua_ctx_destroy()
by Aurelien DARRAGON
· 1 year, 4 months ago
8985ab8
BUG/MINOR: hlua: enforce proper running context for register_x functions
by Aurelien DARRAGON
· 1 year, 4 months ago
a265827
BUG/MEDIUM: lua: handle stick table implicit arguments right.
by Olivier Houchard
· 1 year, 10 months ago
da25dac
BUG/MEDIUM: lua: Don't crash in hlua_lua2arg_check on failure
by Olivier Houchard
· 1 year, 10 months ago
a5a25b1
BUG/MINOR: hlua: Rely on CF_EOI to detect end of message in HTTP applets
by Christopher Faulet
· 1 year, 10 months ago
868b3b1
BUG/MEDIUM: hlua: Don't set EOM flag on an empty HTX message in HTTP applet
by Christopher Faulet
· 2 years, 3 months ago
79c0fc7
BUG/MINOR: hlua: Set conn-stream/channel EOI flags at the end of request
by Christopher Faulet
· 2 years, 4 months ago
e00ad05
BUG/MEDIUM: lua: fix memory leaks with realloc() on non-glibc systems
by Willy Tarreau
· 2 years, 9 months ago
790810f
BUG/MAJOR: lua: use task_wakeup() to properly run a task once
by Willy Tarreau
· 2 years, 9 months ago
9cc2e4c
BUG/MEDIUM: lua: fix wakeup condition from sleep()
by Willy Tarreau
· 2 years, 9 months ago
42afc59
BUILD: ssl: fix two remaining occurrences of #if USE_OPENSSL
by Willy Tarreau
· 2 years, 10 months ago
3b7bc3e
BUG/MINOR: lua: Don't yield in channel.append() and channel.set()
by Christopher Faulet
· 3 years ago
055310f
BUG/MINOR: lua: Yield in channel functions only if lua context can yield
by Christopher Faulet
· 3 years ago
a6e792f
MINOR: lua: Add a flag on lua context to know the yield capability at run time
by Christopher Faulet
· 3 years ago
fa92f36
BUG/MINOR: lua: use strlcpy2() not strncpy() to copy sample keywords
by Willy Tarreau
· 2 years, 11 months ago
3eb2e47
MINOR: hlua: take the global Lua lock inside a global function
by Willy Tarreau
· 2 years, 11 months ago
69c66e3
BUILD: lua: silence a build warning with TCC
by Willy Tarreau
· 3 years ago
3d6ee40
BUILD: hlua: include proxy.h from hlua.c
by Willy Tarreau
· 3 years, 2 months ago
e4a617c
MINOR: action: replace match_pfx by a keyword flags field
by Amaury Denoyelle
· 3 years, 2 months ago
c31b200
BUG/MINOR: hlua: Don't rely on top of the stack when using Lua buffers
by Christopher Faulet
· 3 years, 2 months ago
7e702d1
CLEANUP: hlua: rename hlua_appctx* appctx to luactx
by Willy Tarreau
· 3 years, 2 months ago
bd878d2
BUG/MINOR: hlua: Don't consume headers when starting an HTTP lua service
by Christopher Faulet
· 3 years, 2 months ago
2b71810
CLEANUP: lists/tree-wide: rename some list operations to avoid some confusion
by Willy Tarreau
· 3 years, 3 months ago
3a9a12b
BUG/MINOR: hlua: Fix memory leaks on error path when registering a cli keyword
by Christopher Faulet
· 3 years, 3 months ago
5c028d7
BUG/MINOR: hlua: Fix memory leaks on error path when registering a service
by Christopher Faulet
· 3 years, 3 months ago
4fc9da0
BUG/MINOR: hlua: Fix memory leaks on error path when registering an action
by Christopher Faulet
· 3 years, 3 months ago
528526f
BUG/MINOR: hlua: Fix memory leaks on error path when parsing a lua action
by Christopher Faulet
· 3 years, 3 months ago
2567f18
BUG/MINOR: hlua: Fix memory leaks on error path when registering a fetch
by Christopher Faulet
· 3 years, 3 months ago
aa22430
BUG/MINOR: hlua: Fix memory leaks on error path when registering a converter
by Christopher Faulet
· 3 years, 3 months ago
5294ec0
BUG/MINOR: hlua: Fix memory leaks on error path when registering a task
by Christopher Faulet
· 3 years, 3 months ago
dda4444
MINOR: hlua: Add function to release a lua function
by Christopher Faulet
· 3 years, 3 months ago
4781b15
CLEANUP: atomic/tree-wide: replace single increments/decrements with inc/dec
by Willy Tarreau
· 3 years, 3 months ago
eccb31c
BUG/MINOR: hlua: Detect end of request when reading data for an HTTP applet
by Christopher Faulet
· 3 years, 3 months ago
1bb6afa
MINOR: stream: Use stream type instead of proxy mode when appropriate
by Christopher Faulet
· 3 years, 4 months ago
704ba1d
MINOR: lua: properly allocate the lua Socket servers
by Amaury Denoyelle
· 3 years, 4 months ago
239fdbf
MINOR: lua: properly allocate the lua Socket proxy
by Amaury Denoyelle
· 3 years, 4 months ago
1e8433f
BUG/MEDIUM: lua: Always init the lua stack before referencing the context
by Christopher Faulet
· 3 years, 4 months ago
cc2c4f8
BUG/MEDIUM: debug/lua: Use internal hlua function to dump the lua traceback
by Christopher Faulet
· 3 years, 4 months ago
d09cc51
MINOR: lua: Slightly improve function dumping the lua traceback
by Christopher Faulet
· 3 years, 4 months ago
a61789a
MEDIUM: lua: Use a per-thread counter to track some non-reentrant parts of lua
by Christopher Faulet
· 3 years, 4 months ago
0182516
CLEANUP: config: make the cfg_keyword parsers take a const for the defproxy
by Willy Tarreau
· 3 years, 4 months ago
d4e78d8
MINOR: server: move actconns to the per-thread structure
by Willy Tarreau
· 3 years, 4 months ago
430bf4a
MINOR: server: allocate a per-thread struct for the per-thread connections stuff
by Willy Tarreau
· 3 years, 4 months ago
198e92a
MINOR: server: add a global list of all known servers
by Willy Tarreau
· 3 years, 4 months ago
0f143af
CLEANUP: lua: set a dummy file name and line number on the dummy servers
by Willy Tarreau
· 3 years, 4 months ago
144f84a
MEDIUM: task: extend the state field to 32 bits
by Willy Tarreau
· 3 years, 4 months ago
751153e
OPTIM: server: switch the actconn list to an mt-list
by Willy Tarreau
· 3 years, 5 months ago
f232cb3
MEDIUM: connection: replace idle conn lists by eb trees
by Amaury Denoyelle
· 3 years, 6 months ago
d1ac2b9
MAJOR: htx: Remove the EOM block type and use HTX_FL_EOM instead
by Christopher Faulet
· 3 years, 7 months ago
42432f3
MINOR: htx: Rename HTX_FL_EOI flag into HTX_FL_EOM
by Christopher Faulet
· 3 years, 8 months ago
f4c12d4
BUILD/MINOR: lua: define _GNU_SOURCE for LLONG_MAX
by Bertrand Jacquin
· 3 years, 6 months ago
80839ff
MINOR: lua: remove unused variable
by Bertrand Jacquin
· 3 years, 6 months ago
8f0cc5c
CLEANUP: Fix spelling errors in comments
by Thayne McCombs
· 3 years, 6 months ago
2258652
BUG/MINOR: hlua: Fix memory leak in hlua_alloc
by Tim Duesterhus
· 3 years, 6 months ago
b8888ab
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· 3 years, 6 months ago
e5ff141
CLEANUP: Compare the return value of `XXXcmp()` functions with zero
by Tim Duesterhus
· 3 years, 6 months ago
f89d43a
MINOR: lua: Use consistent error message 'memory allocation failed'
by Tim Duesterhus
· 3 years, 6 months ago
621e74a
BUG/MINOR: lua: Fix memory leak error cases in hlua_config_prepend_path
by Tim Duesterhus
· 3 years, 6 months ago
26256f8
MINOR: stream: Pass an optional input buffer when a stream is created
by Christopher Faulet
· 3 years, 10 months ago
186f376
BUG/MINOR: lua-thread: close all states on deinit
by Willy Tarreau
· 3 years, 7 months ago
aafc777
BUG/MEDIUM: lua-thread: some parts must be initialized once
by Thierry Fournier
· 3 years, 7 months ago
46278ff
MINOR: lua-thread: Add verbosity in errors
by Thierry Fournier
· 3 years, 7 months ago
59f11be
MEDIUM: lua-thread: Add the lua-load-per-thread directive
by Thierry Fournier
· 3 years, 7 months ago
c749259
MINOR: lua-thread: Store each function reference and init reference in array
by Thierry Fournier
· 3 years, 7 months ago
021d986
MINOR: lua-thread: Replace state_from by state_id
by Thierry Fournier
· 3 years, 7 months ago
62a22aa
MINOR: lua-thread: Replace "struct hlua_function" allocation by dedicated function
by Thierry Fournier
· 3 years, 7 months ago
afc63e2
MINOR: lua-thread: Replace global gL var with an array of states
by Thierry Fournier
· 3 years, 7 months ago
7cbe504
MEDIUM: lua-thread: Apply lock only if the parent state is the main thread
by Thierry Fournier
· 3 years, 7 months ago
3c53932
MEDIUM: lua-thread: No longer use locked context in initialization parts
by Thierry Fournier
· 3 years, 7 months ago
ecb83c2
MINOR: lua-thread: Add the "thread" core variable
by Thierry Fournier
· 3 years, 7 months ago
b8cef17
MINOR: lua-thread: Split hlua_post_init() function in two parts
by Thierry Fournier
· 3 years, 7 months ago
c93c15c
MINOR: lua-thread: Split hlua_load function in two parts
by Thierry Fournier
· 3 years, 7 months ago
75fc029
MINOR: lua-thread: make hlua_ctx_init() get L from its caller
by Thierry Fournier
· 3 years, 7 months ago
1eac28f
MINOR: lua-thread: Split hlua_init() function in two parts
by Thierry Fournier
· 3 years, 7 months ago
ad5345f
MINOR: lua-thread: Replace embedded struct hlua_function by a pointer
by Thierry Fournier
· 3 years, 7 months ago
92689e6
MINOR: lua-thread: Stop usage of struct hlua for the global lua state
by Thierry Fournier
· 3 years, 7 months ago
4234dbd
MINOR: lua-thread: Use NULL context for main lua state
by Thierry Fournier
· 3 years, 7 months ago
9eb3230
MINOR: lua-thread: hlua_ctx_renew() is never called with main gL lua state
by Thierry Fournier
· 3 years, 7 months ago
670db24
MEDIUM: lua-thread: make hlua_post_init() no longer use the runtime execution function
by Thierry Fournier
· 3 years, 7 months ago
3fb9e51
MINOR: lua-thread: remove struct hlua from function hlua_prepend_path()
by Thierry Fournier
· 3 years, 7 months ago
cdb5346
MEDIUM: lua-thread: use atomics for memory accounting
by Willy Tarreau
· 3 years, 7 months ago
d36c7fa
MINOR: lua: simplify hlua_alloc() to only rely on realloc()
by Willy Tarreau
· 3 years, 7 months ago
f67442e
BUG/MINOR: lua: warn when registering action, conv, sf, cli or applet multiple times
by Thierry Fournier
· 3 years, 7 months ago
2f05cc6
BUG/MINOR: lua: Some lua init operation are processed unsafe
by Thierry Fournier
· 3 years, 7 months ago
13d08b7
BUG/MINOR: lua: Post init register function are not executed beyond the first one
by Thierry Fournier
· 3 years, 7 months ago
77a8894
BUG/MINOR: lua: lua-load doesn't check its parameters
by Thierry Fournier
· 3 years, 7 months ago
de6145f
BUG/MINOR: lua: missing "\n" in error message
by Thierry Fournier
· 3 years, 7 months ago
91dc0c0
BUG/MINOR: lua: set buffer size during map lookups
by Thierry Fournier
· 3 years, 8 months ago
bc0af6a
BUG/MINOR: lua: initialize sample before using it
by Amaury Denoyelle
· 3 years, 8 months ago
9b7587a
MINOR: connection: make sockaddr_alloc() take the address to be copied
by Willy Tarreau
· 3 years, 9 months ago
Next »