Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
e15ab932441fc078e09146bbde7c03cc79da950e
/
src
/
hlua.c
933fe39
BUG/MINOR: httpclient/lua: rcv freeze when no request payload
by William Lallemand
· Thu Nov 04 09:45:58 2021 +0100
2471f5c
CLEANUP: Apply ist.cocci
by Tim Duesterhus
· Mon Nov 08 09:05:01 2021 +0100
16cc16d
CLEANUP: Re-apply xalloc_size.cocci
by Tim Duesterhus
· Sat Nov 06 15:14:45 2021 +0100
4c8f75f
CLEANUP: Apply ist.cocci
by Tim Duesterhus
· Sat Nov 06 15:14:44 2021 +0100
d1187eb
BUG/MINOR: httpclient/lua: misplaced luaL_buffinit()
by William Lallemand
· Tue Nov 02 10:40:06 2021 +0100
bd5739e
MINOR: httpclient/lua: handle the streaming into the lua applet
by William Lallemand
· Thu Oct 28 15:41:38 2021 +0200
8aee303
CLEANUP: hlua: Remove obsolete branch in `hlua_alloc()`
by Tim Duesterhus
· Sat Oct 23 19:56:40 2021 +0200
16f16af
MINOR: stream: Use backend stream-interface dst address instead of target_addr
by Christopher Faulet
· Wed Oct 27 09:34:56 2021 +0200
e6465b3
CLEANUP: lua: Use a const address to retrieve info about a connection
by Christopher Faulet
· Fri Oct 22 15:36:08 2021 +0200
0af4bd7
BUG/MEDIUM: lua: fix invalid return types in hlua_http_msg_get_body
by vishnu
· Sun Oct 24 06:46:24 2021 +0530
6137a9e
MINOR: httpclient/lua: return an error when it can't generate the request
by William Lallemand
· Tue Oct 26 15:01:53 2021 +0200
dc2cc90
MINOR: httpclient/lua: support more HTTP methods
by William Lallemand
· Tue Oct 26 11:43:26 2021 +0200
dec25c3
MINOR: httpclient: support payload within a buffer
by William Lallemand
· Mon Oct 25 19:48:37 2021 +0200
a5efdff
BUG/MEDIUM: lua: fix memory leaks with realloc() on non-glibc systems
by Willy Tarreau
· Fri Oct 22 16:00:02 2021 +0200
bd6b4be
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Fri Oct 15 16:18:21 2021 +0500
9e5e586
BUG/MINOR: lua: Fix lua error handling in `hlua_config_prepend_path()`
by Tim Duesterhus
· Mon Oct 11 18:51:08 2021 +0200
43ab05b
MEDIUM: threads: replace ha_set_tid() with ha_set_thread()
by Willy Tarreau
· Tue Sep 28 09:43:11 2021 +0200
5554264
REORG: time: move time-keeping code and variables to clock.c
by Willy Tarreau
· Fri Oct 08 09:33:24 2021 +0200
746e6f3
MINOR: httpclient/lua: supports headers via named arguments
by William Lallemand
· Wed Oct 06 10:57:44 2021 +0200
ef574b2
BUG/MINOR: httpclient/lua: does not process headers when failed
by William Lallemand
· Tue Oct 05 16:19:31 2021 +0200
f77f1de
MINOR: httpclient/lua: implement garbage collection
by William Lallemand
· Tue Sep 28 19:10:38 2021 +0200
beeabf5
MINOR: task: provide 3 task_new_* wrappers to simplify the API
by Willy Tarreau
· Fri Oct 01 18:23:30 2021 +0200
e3957f8
BUG/MAJOR: lua: use task_wakeup() to properly run a task once
by Willy Tarreau
· Thu Sep 30 16:17:37 2021 +0200
12c0270
BUG/MEDIUM: lua: fix wakeup condition from sleep()
by Willy Tarreau
· Thu Sep 30 16:12:31 2021 +0200
545fbba
MINOR: h1: Change T-E header parsing to fail if chunked encoding is found twice
by Christopher Faulet
· Tue Sep 28 09:36:25 2021 +0200
4a4e663
Revert "head-truc"
by William Lallemand
· Fri Sep 24 19:13:04 2021 +0200
7d21836
head-truc
by William Lallemand
· Fri Sep 24 16:51:55 2021 +0200
79416cb
BUG/MINOR: httpclient/lua: return an error on argument check
by William Lallemand
· Fri Sep 24 14:51:44 2021 +0200
d7df73a
MINOR: httpclient/lua: implement the headers in the response object
by William Lallemand
· Thu Sep 23 17:54:00 2021 +0200
3956c4e
MINOR: httpclient/lua: httpclient:get() API in lua
by William Lallemand
· Tue Sep 21 16:25:15 2021 +0200
b113b5c
CLEANUP: Apply ist.cocci
by Tim Duesterhus
· Wed Sep 15 13:58:44 2021 +0200
e612446
MINOR: applet: remove the thread mask from appctx_new()
by Willy Tarreau
· Mon Sep 13 10:07:38 2021 +0200
2281738
BUG/MEDIUM lua: Add missing call to RESET_SAFE_LJMP in hlua_filter_new()
by Tim Duesterhus
· Sat Sep 11 23:17:25 2021 +0200
e352b9d
MINOR: vars: make vars_get_by_* support an optional default value
by Willy Tarreau
· Fri Sep 03 11:52:38 2021 +0200
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
Next »