Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
bda7c1decd9248ceee1d0b4096566107273b0ab9
/
src
/
hlua.c
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
8e09ac8
BUG/MINOR: lua: Check argument type to convert it to IPv4/IPv6 arg validation
by Christopher Faulet
· Fri Aug 07 09:07:26 2020 +0200
73292e9
BUG/MINOR: lua: Duplicate map name to load it when a new Map object is created
by Christopher Faulet
· Thu Aug 06 08:40:09 2020 +0200
2361fd9
BUG/MINOR: lua: Fix a possible null pointer deref on lua ctx
by Christopher Faulet
· Thu Jul 30 10:40:58 2020 +0200
8f587ea
MEDIUM: lua: Set the analyse expiration date with smaller wake_time only
by Christopher Faulet
· Tue Jul 28 12:01:55 2020 +0200
498c483
BUG/MINOR: lua: Abort execution of actions that yield on a final evaluation
by Christopher Faulet
· Tue Jul 28 11:59:58 2020 +0200
08ed98f
MEDIUM: lua: Add support for the Lua 5.4
by Christopher Faulet
· Tue Jul 28 10:33:25 2020 +0200
f1ea47d
BUG/MINOR: htx: add two missing HTX_FL_EOI and remove an unexpected one
by Willy Tarreau
· Thu Jul 23 06:53:27 2020 +0200
810df06
MEDIUM: htx: Add a flag on a HTX message when no more data are expected
by Christopher Faulet
· Wed Jul 22 16:20:34 2020 +0200
d0c0ca2
CLEANUP: Add static void hlua_deinit()
by Tim Duesterhus
· Sat Jul 04 11:53:26 2020 +0200
46a030c
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Sun Jul 05 16:36:08 2020 +0500
588b314
BUILD: Re-enable -Wimplicit-fallthrough
by Tim Duesterhus
· Fri May 29 14:35:51 2020 +0200
b255105
CLEANUP: include: tree-wide alphabetical sort of include files
by Willy Tarreau
· Tue Jun 09 09:07:15 2020 +0200
Next »