Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
efb4618c6ea17547a5f755c12c41ee7476228bcc
/
src
/
hlua.c
66435e5
CLEANUP: applet: use the appctx's endp instead of cs->endp
by Willy Tarreau
· Tue May 10 11:32:31 2022 +0200
e0c5435
BUG/MEDIUM: lua: fix argument handling in data removal functions
by Boyang Li
· Tue May 10 17:47:23 2022 +0000
aa229cc
MINOR: lua: move the http service context out of appctx.ctx
by Willy Tarreau
· Fri May 06 14:26:10 2022 +0200
e23f33b
MINOR: lua: move the tcp service storage outside of appctx.ctx
by Willy Tarreau
· Fri May 06 14:07:13 2022 +0200
5321da9
MEDIUM: lua: move the cosocket storage outside of appctx.ctx
by Willy Tarreau
· Fri May 06 11:57:34 2022 +0200
bcda5f6
CLEANUP: hlua/cli: take the hlua_cli context definition out of the appctx
by Willy Tarreau
· Tue May 03 18:13:39 2022 +0200
03bd395
MEDIUM: stream: remove the confusing SF_ADDR_SET flag
by Willy Tarreau
· Mon May 02 16:36:47 2022 +0200
c2d3db4
BUG/MINOR: httpclient/lua: error when the httpclient_start() fails
by William Lallemand
· Tue Apr 26 11:46:13 2022 +0200
6b0a0fb
CLEANUP: tree-wide: Remove any ref to stream-interfaces
by Christopher Faulet
· Mon Apr 04 11:29:28 2022 +0200
a0bdec3
MEDIUM: stream-int/conn-stream: Move blocking flags from SI to CS
by Christopher Faulet
· Mon Apr 04 07:51:21 2022 +0200
8f45eec
MINOR: stream-int/conn-stream: Move si_alloc_ibuf() in the conn-stream scope
by Christopher Faulet
· Fri Apr 01 17:19:36 2022 +0200
13045f0
MINOR: stream-int-conn-stream: Move si_update_* in conn-stream scope
by Christopher Faulet
· Fri Apr 01 14:23:38 2022 +0200
da098e6
MINOR: stream-int/conn-stream: Move si_shut* and si_chk* in conn-stream scope
by Christopher Faulet
· Thu Mar 31 17:44:45 2022 +0200
62e7574
MEDIUM: stream-int/conn-stream: Move stream-interface state in the conn-stream
by Christopher Faulet
· Thu Mar 31 09:16:34 2022 +0200
8da67aa
MEDIUM: stream-int/conn-stream: Move src/dst addresses in the conn-stream
by Christopher Faulet
· Tue Mar 29 17:53:09 2022 +0200
908628c
MEDIUM: tree-wide: Use CS util functions instead of SI ones
by Christopher Faulet
· Fri Mar 25 16:43:49 2022 +0100
b041b23
MEDIUM: conn-stream: Move remaning flags from CS to endpoint
by Christopher Faulet
· Thu Mar 24 10:27:02 2022 +0100
9ec2f4d
MAJOR: conn-stream: Share endpoint struct between the CS and the mux/applet
by Christopher Faulet
· Wed Mar 23 15:15:29 2022 +0100
a9e8b39
MEDIUM: conn-stream: Pre-allocate endpoint to create CS from muxes and applets
by Christopher Faulet
· Wed Mar 23 11:01:09 2022 +0100
b669d68
MEDIUM: conn-stream: Be able to pass endpoint to create a conn-stream
by Christopher Faulet
· Tue Mar 22 18:37:19 2022 +0100
9388204
MAJOR: conn-stream: Invert conn-stream endpoint and its context
by Christopher Faulet
· Wed Jan 19 14:56:50 2022 +0100
2479e5f
MEDIUM: applet: Set the appctx owner during allocation
by Christopher Faulet
· Wed Jan 19 14:50:11 2022 +0100
4aa1d28
MINOR: applet: Make .init callback more generic
by Christopher Faulet
· Thu Jan 13 16:01:35 2022 +0100
f89af9c
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
5213918
BUILD: ssl/lua: CacheCert needs OpenSSL
by William Lallemand
· Wed Mar 30 15:05:42 2022 +0200
30fcca1
MINOR: ssl/lua: CertCache.set() allows to update an SSL certificate file
by William Lallemand
· Wed Mar 30 12:03:12 2022 +0200
7177a95
MEDIUM: httpclient/lua: be stricter with httpclient parameters
by William Lallemand
· Thu Mar 03 15:33:12 2022 +0100
8f170c7
BUG/MINOR: httpclient/lua: stuck when closing without data
by William Lallemand
· Tue Mar 15 10:52:07 2022 +0100
d8d2708
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
3dfb7da
CLEANUP: tree-wide: remove a few rare non-ASCII chars
by Willy Tarreau
· Wed Mar 02 22:33:39 2022 +0100
10a3736
BUG/MEDIUM: httpclient/lua: infinite appctx loop with POST
by William Lallemand
· Wed Mar 02 16:18:26 2022 +0100
693b23b
MEDIUM: tree-wide: Use unsafe conn-stream API when it is relevant
by Christopher Faulet
· Mon Feb 28 09:09:05 2022 +0100
8424004
MINOR: channel: don't use co_set_data() to decrement output
by Willy Tarreau
· Mon Feb 28 16:51:23 2022 +0100
2da02ae
BUILD: tree-wide: Avoid warnings about undefined entities retrieved from a CS
by Christopher Faulet
· Thu Feb 24 13:45:27 2022 +0100
cda94ac
MAJOR: stream/conn_stream: Move the stream-interface into the conn-stream
by Christopher Faulet
· Thu Dec 23 17:28:17 2021 +0100
436811f
MINOR: hlua: Always access the stream-int via the conn-stream
by Christopher Faulet
· Thu Dec 23 13:39:38 2021 +0100
95a61e8
MINOR: stream: Add pointer to front/back conn-streams into stream struct
by Christopher Faulet
· Wed Dec 22 14:22:03 2021 +0100
f835dea
MEDIUM: conn_stream: Add a pointer to the app object into the conn-stream
by Christopher Faulet
· Tue Dec 21 14:35:17 2021 +0100
86e1c33
MEDIUM: applet: Set the conn-stream as appctx owner instead of the stream-int
by Christopher Faulet
· Mon Dec 20 17:09:39 2021 +0100
13a35e5
MAJOR: conn_stream/stream-int: move the appctx to the conn-stream
by Christopher Faulet
· Mon Dec 20 15:34:16 2021 +0100
ab90ee8
BUG/MINOR: httpclient/lua: missing pop for new timeout parameter
by William Lallemand
· Wed Feb 23 15:16:08 2022 +0100
b4a4ef6
MINOR: httpclient/lua: ability to set a server timeout
by William Lallemand
· Wed Feb 23 14:18:16 2022 +0100
4f4f2b7
MINOR: httpclient/lua: add 'dst' optionnal field
by William Lallemand
· Thu Feb 17 20:00:23 2022 +0100
fc59129
MINOR: httpclient: Don't limit data transfer to 1024 bytes
by Christopher Faulet
· Wed Jan 12 14:46:03 2022 +0100
01e2be8
BUG/MINOR: httpclient/lua: don't pop the lua stack when getting headers
by William Lallemand
· Fri Jan 14 17:59:01 2022 +0100
7fbc770
BUG/MINOR: lua: remove loop initial declarations
by Bertrand Jacquin
· Wed Nov 24 21:16:06 2021 +0000
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
Next »