Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
753d4db5f3b70a2feeb90031ba9b37e919a06090
/
src
/
hlua.c
b131049
BUILD: ssl: fix two remaining occurrences of #if USE_OPENSSL
by Willy Tarreau
· Mon Aug 30 09:35:18 2021 +0200
5ef9656
BUG/MINOR: lua: use strlcpy2() not strncpy() to copy sample keywords
by Willy Tarreau
· Thu Aug 26 16:48:53 2021 +0200
bc2ebfa
MEDIUM: server: extend refcount for all servers
by Amaury Denoyelle
· Wed Aug 25 15:34:53 2021 +0200
ff0f278
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Sun Aug 22 22:18:07 2021 +0500
1e7bef1
MINOR: hlua: take the global Lua lock inside a global function
by Willy Tarreau
· Fri Aug 20 15:47:25 2021 +0200
e48d1dc
BUG/MINOR: lua/filters: Return right code when txn:done() is called
by Christopher Faulet
· Fri Aug 13 14:11:17 2021 +0200
c86bb87
BUG/MINOR: lua: Properly catch alloc errors when parsing lua filter directives
by Christopher Faulet
· Fri Aug 13 08:33:57 2021 +0200
70c4345
BUG/MINOR: lua: Properly check negative offset in Channel/HttpMessage functions
by Christopher Faulet
· Fri Aug 13 08:11:00 2021 +0200
eae8afa
MINOR: filters/lua: Support the HTTP filtering from filters written in lua
by Christopher Faulet
· Wed Feb 26 17:15:48 2020 +0100
78c3547
MINOR: filters/lua: Add request and response HTTP messages in the lua TXN
by Christopher Faulet
· Wed Feb 26 17:14:08 2020 +0100
df97ac4
MEDIUM: filters/lua: Add HTTPMessage class to help HTTP filtering
by Christopher Faulet
· Wed Feb 26 16:57:19 2020 +0100
c404f11
MEDIUM: filters/lua: Support declaration of some filter callback functions in lua
by Christopher Faulet
· Wed Feb 26 15:03:09 2020 +0100
a1ac5fb
MEDIUM: filters/lua: Be prepared to filter TCP payloads
by Christopher Faulet
· Mon Aug 09 10:22:46 2021 +0200
8c9e6bb
MINOR: lua: Add flags on the lua TXN to know the execution context
by Christopher Faulet
· Fri Aug 06 16:29:41 2021 +0200
9f55a50
MINOR: lua: Add a function to get a filter attached to a channel class
by Christopher Faulet
· Tue Feb 25 15:21:02 2020 +0100
69c581a
MEDIUM: filters/lua: Add support for dummy filters written in lua
by Christopher Faulet
· Mon May 31 08:54:04 2021 +0200
6a79fc1
MEDIUM: lua: Improve/revisit the lua api to manipulate channels
by Christopher Faulet
· Fri Aug 06 16:02:36 2021 +0200
9a6ffda
MEDIUM: lua: Process buffer data using an offset and a length
by Christopher Faulet
· Fri Aug 06 13:49:54 2021 +0200
ba9e21d
MINOR: lua: Add a function to get a reference on a table in the stack
by Christopher Faulet
· Tue Feb 25 10:20:04 2020 +0100
23976d9
BUG/MINOR: lua: Don't yield in channel.append() and channel.set()
by Christopher Faulet
· Fri Aug 06 09:59:49 2021 +0200
2e60aa4
BUG/MINOR: lua: Yield in channel functions only if lua context can yield
by Christopher Faulet
· Thu Aug 05 11:58:37 2021 +0200
1f43a34
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
6bb77b9
MINOR: proxy: rename PR_CAP_LUA to PR_CAP_INT
by William Lallemand
· Wed Jul 28 15:48:16 2021 +0200
ee0d727
CLEANUP: hlua: use free_args() to release args arrays
by Willy Tarreau
· Fri Jul 16 10:26:56 2021 +0200
6a51090
BUILD: lua: silence a build warning with TCC
by Willy Tarreau
· Wed Jul 14 19:41:25 2021 +0200
c453f95
MINOR: http: use http uri parser for path
by Amaury Denoyelle
· Tue Jul 06 11:40:12 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
Next »