Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
157788c7b194eda5d0c825f4704081ed2e7efbd9
/
src
/
hlua.c
9d6bb5a
BUILD: lua: silence a warning on systems where longjmp is not marked as noreturn
by Willy Tarreau
· Thu Feb 06 15:55:41 2020 +0100
700d9e8
MEDIUM: lua: Add ability for actions to intercept HTTP messages
by Christopher Faulet
· Fri Jan 31 12:21:52 2020 +0100
2c2c2e3
MINOR: lua: Add act:wake_time() function to set a timeout when an action yields
by Christopher Faulet
· Fri Jan 31 19:07:52 2020 +0100
0f3c890
MINOR: lua: Create the global 'act' object to register all action return codes
by Christopher Faulet
· Fri Jan 31 18:57:12 2020 +0100
7716cdf
MINOR: lua: Get the action return code on the stack when an action finishes
by Christopher Faulet
· Wed Jan 29 11:53:30 2020 +0100
07a718e
CLEANUP: lua: Remove consistency check for sample fetches and actions
by Christopher Faulet
· Wed Jan 29 11:51:39 2020 +0100
541fe1e
MINOR: lua: Add HLUA_PREPEND_C?PATH build option
by Tim Duesterhus
· Sun Jan 12 13:55:41 2020 +0100
dd74b5f
MINOR: lua: Add lua-prepend-path configuration option
by Tim Duesterhus
· Sun Jan 12 13:55:40 2020 +0100
c9fc9f2
MINOR: lua: Add hlua_prepend_path function
by Tim Duesterhus
· Sun Jan 12 13:55:39 2020 +0100
92d34fe
MINOR: http-rules: Make replace-header and replace-value custom actions
by Christopher Faulet
· Tue Dec 17 09:20:34 2019 +0100
105ba6c
MINOR: actions: Rename the act_flag enum into act_opt
by Christopher Faulet
· Wed Dec 18 14:41:51 2019 +0100
96bff76
MINOR: actions: Regroup some info about HTTP rules in the same struct
by Christopher Faulet
· Tue Dec 17 13:46:18 2019 +0100
1340376
MINOR: actions: Use ACT_RET_CONT code to ignore an error from a custom action
by Christopher Faulet
· Fri Dec 13 09:01:57 2019 +0100
f31af93
MEDIUM: lua: don't call the GC as often when dealing with outgoing connections
by Willy Tarreau
· Tue Jan 14 09:59:38 2020 +0100
ea00973
BUILD: debug: Avoid warnings in dev mode with -02 because of some BUG_ON tests
by Christopher Faulet
· Mon Nov 18 15:50:25 2019 +0100
9fe7c63
BUG/MEDIUM: lua: Store stick tables into the sample's `t` field
by Tim Duesterhus
· Sun Sep 29 23:03:09 2019 +0200
2e89dec
CLEANUP: lua: Get rid of obsolete (size_t *) cast in hlua_lua2(smp|arg)
by Tim Duesterhus
· Sun Sep 29 23:03:08 2019 +0200
29d2e8a
BUG/MINOR: lua: Properly initialize the buffer's fields for string samples in hlua_lua2(smp|arg)
by Tim Duesterhus
· Sun Sep 29 23:03:07 2019 +0200
60409db
MINOR: lua: export applet and task handlers
by Willy Tarreau
· Wed Aug 21 14:14:50 2019 +0200
81921b1
BUG/MEDIUM: lua: Fix test on the direction to set the channel exp timeout
by Christopher Faulet
· Wed Aug 14 23:19:45 2019 +0200
579e3e3
BUG/MINOR: lua: fix setting netfilter mark
by Lukas Tribus
· Sun Aug 11 18:03:45 2019 +0200
301eff8
BUG/MINOR: hlua: Only execute functions of HTTP class if the txn is HTTP ready
by Christopher Faulet
· Fri Jul 26 16:31:34 2019 +0200
bfab2dd
MINOR: hlua: Add a flag on the lua txn to know in which context it can be used
by Christopher Faulet
· Fri Jul 26 15:09:53 2019 +0200
51fa358
MINOR: hlua: Don't set request analyzers on response channel for lua actions
by Christopher Faulet
· Fri Jul 26 14:54:52 2019 +0200
84a6d5b
BUG/MEDIUM: hlua: Check the calling direction in lua functions of the HTTP class
by Christopher Faulet
· Fri Jul 26 16:17:01 2019 +0200
fe6a71b
BUG/MINOR: hlua/htx: Reset channels analyzers when txn:done() is called
by Christopher Faulet
· Fri Jul 26 16:40:24 2019 +0200
5a0b25d
MEDIUM: lua: do not allocate the remote connection anymore
by Willy Tarreau
· Thu Jul 18 18:01:14 2019 +0200
1c8d32b
MAJOR: stream: store the target address into s->target_addr
by Willy Tarreau
· Thu Jul 18 15:47:45 2019 +0200
ca79f59
MEDIUM: connection: make sure all address producers allocate their address
by Willy Tarreau
· Wed Jul 17 19:04:47 2019 +0200
9da9a6f
MINOR: lua: switch to conn->dst for a connection's target address
by Willy Tarreau
· Wed Jul 17 14:49:44 2019 +0200
428d8e3
MINOR: lua: use conn_get_{src,dst} to retrieve connection addresses
by Willy Tarreau
· Wed Jul 17 11:51:35 2019 +0200
f734638
MINOR: http: Don't store raw HTTP errors in chunks anymore
by Christopher Faulet
· Wed Jul 17 22:02:08 2019 +0200
fc9cfe4
REORG: proto_htx: Move HTX analyzers & co to http_ana.{c,h} files
by Christopher Faulet
· Tue Jul 16 14:54:53 2019 +0200
67bb3bb
MINOR: hlua: Remove useless test on TX_CON_WANT_* flags
by Christopher Faulet
· Tue Jul 16 14:28:23 2019 +0200
711ed6a
MAJOR: http: Remove the HTTP legacy code
by Christopher Faulet
· Tue Jul 16 14:16:10 2019 +0200
a209796
MEDIUM: hlua: Remove code relying on the legacy HTTP mode
by Christopher Faulet
· Mon Jul 15 16:25:33 2019 +0200
280f85b
MINOR: hlua: Remove tests on the option 'http-use-htx' to reject TCP applets
by Christopher Faulet
· Mon Jul 15 15:02:04 2019 +0200
4d0e263
BUG/MINOR: hlua: Make the function txn:done() HTX aware
by Christopher Faulet
· Tue Jul 16 10:52:40 2019 +0200
8f1aa77
BUG/MEDIUM: http/applet: Finish request processing when a service is registered
by Christopher Faulet
· Thu Jul 04 11:27:15 2019 +0200
9060fc0
BUG/MINOR: hlua/htx: Respect the reserve when HTX data are sent
by Christopher Faulet
· Wed Jul 03 11:39:30 2019 +0200
7e145b3
BUG/MINOR: hlua: Don't use channel_htx_recv_max()
by Christopher Faulet
· Tue Jul 02 21:29:43 2019 +0200
ea41874
BUG/MINOR: lua/htx: Make txn.req_req_* and txn.res_rep_* HTX aware
by Christopher Faulet
· Mon Jun 17 13:36:06 2019 +0200
9faebe3
MEDIUM: tools: improve time format error detection
by Willy Tarreau
· Fri Jun 07 19:00:37 2019 +0200
54b5e21
MINOR: htx: Don't use end-of-data blocks anymore
by Christopher Faulet
· Tue Jun 04 10:08:28 2019 +0200
0a7ef02
MINOR: htx: make htx_add_data() return the transmitted byte count
by Willy Tarreau
· Tue May 28 10:30:11 2019 +0200
29f1758
MEDIUM: htx: Store the first block position instead of the start-line one
by Christopher Faulet
· Thu May 23 11:03:26 2019 +0200
a3f1550
MEDIUM: http/htx: Perform analysis relatively to the first block
by Christopher Faulet
· Mon May 13 15:27:23 2019 +0200
297fbb4
MINOR: htx: Replace the function http_find_stline() by http_get_stline()
by Christopher Faulet
· Mon May 13 14:41:27 2019 +0200
256b69a
BUG/MINOR: lua: Set right direction and flags on new HTTP objects
by Christopher Faulet
· Thu May 23 11:14:21 2019 +0200
2674303
MEDIUM: regex: modify regex_comp() to atomically allocate/free the my_regex struct
by Dragan Dosen
· Tue Apr 30 15:54:36 2019 +0200
3f795f7
MEDIUM: tasks: Merge task_delete() and task_free() into task_destroy().
by Olivier Houchard
· Wed Apr 17 22:51:06 2019 +0200
eb70980
MEDIUM: htx: Allow the option http-use-htx to be used on TCP proxies too
by Christopher Faulet
· Thu Apr 11 22:04:08 2019 +0200
18c2e8d
MINOR: lua: Don't handle the header Expect in lua HTTP applets anymore
by Christopher Faulet
· Fri Mar 01 12:02:08 2019 +0100
56a3d6e
BUG/MEDIUM: lua: Fully consume large requests when an HTTP applet ends
by Christopher Faulet
· Wed Feb 27 22:06:23 2019 +0100
0ae79d0
BUG/MINOR: lua/htx: Don't forget to call htx_to_buf() when appropriate
by Christopher Faulet
· Wed Feb 27 21:36:59 2019 +0100
f6cce3f
BUG/MINOR: lua/htx: Use channel_add_input() when response data are added
by Christopher Faulet
· Wed Feb 27 21:20:09 2019 +0100
b784b35
BUG/MINOR: lua: initialize the correct idle conn lists for the SSL sockets
by Willy Tarreau
· Thu Feb 07 14:48:24 2019 +0100
4b0e9b2
BUG/MINOR: lua/htx: Respect the reserve when data are send from an HTX applet
by Christopher Faulet
· Wed Jan 09 12:16:58 2019 +0100
bf90ce1
BUG/MEDIUM: lua: dead lock when Lua tasks are trigerred
by Thierry FOURNIER
· Sun Jan 06 19:04:24 2019 +0100
1725c2e
BUG/MINOR: lua: bad args are returned for Lua actions
by Thierry FOURNIER
· Sun Jan 06 19:38:49 2019 +0100
14bfe9a
CLEANUP: stream-int: consistently call the si/stream_int functions
by Willy Tarreau
· Wed Dec 19 15:19:27 2018 +0100
cc26b13
BUG/MINOR: lua: Return an error if a legacy HTTP applet doesn't send anything
by Christopher Faulet
· Tue Dec 18 21:20:57 2018 +0100
e461e34
BUG/MEDIUM: lua/htx: Handle EOM in receive/get_line calls in HTTP applets
by Christopher Faulet
· Tue Dec 18 16:43:35 2018 +0100
2a454d8
MINOR: lua: Remove useless check on the messages state in HTTP functions
by Christopher Faulet
· Fri Dec 14 13:37:54 2018 +0100
9c832fc
MAJOR: lua/htx: Adapt HTTP applets to support HTX messages
by Christopher Faulet
· Fri Dec 14 13:34:05 2018 +0100
a3ceac1
MINOR: lua/htx: Adapt the functions get_in_length and is_full to be HTX aware
by Christopher Faulet
· Fri Dec 14 13:39:09 2018 +0100
724a12c
MEDIUM: lua/htx: Adapt functions of the HTTP to be compatible with HTX
by Christopher Faulet
· Thu Dec 13 22:12:15 2018 +0100
3f829a4
MAJOR: lua: Forbid calls to Channel functions for LUA scripts in HTTP proxies
by Christopher Faulet
· Thu Dec 13 21:56:45 2018 +0100
1a18b54
REORG: connection: centralize the conn_set_{tos,mark,quickack} functions
by Willy Tarreau
· Tue Dec 11 16:37:42 2018 +0100
12c2423
BUG/MEDIUM: lua: block on remote connection establishment
by Willy Tarreau
· Thu Dec 06 15:29:50 2018 +0100
8ceae72
MEDIUM: init: use initcall for all fixed size pool creations
by Willy Tarreau
· Mon Nov 26 11:58:30 2018 +0100
e655251
MINOR: initcall: use initcalls for section parsers
by Willy Tarreau
· Mon Nov 26 11:33:13 2018 +0100
8071338
MINOR: initcall: apply initcall to all register_build_opts() calls
by Willy Tarreau
· Mon Nov 26 10:19:54 2018 +0100
86abe44
MEDIUM: init: use self-initializing spinlocks and rwlocks
by Willy Tarreau
· Sun Nov 25 20:12:18 2018 +0100
0108d90
MEDIUM: init: convert all trivial registration calls to initcalls
by Willy Tarreau
· Sun Nov 25 19:14:37 2018 +0100
7fe1577
MINOR: Fix typo in the error 500 output of hlua
by Joseph Herlant
· Thu Nov 15 10:07:32 2018 -0800
b8f9c5e
CLEANUP: fix typos in the comments of hlua
by Joseph Herlant
· Thu Nov 15 10:06:08 2018 -0800
afd8f10
MINOR: lua/htx: Forbid lua usage when the HTX is enabled on a proxy
by Christopher Faulet
· Thu Nov 08 11:34:21 2018 +0100
db39843
MINOR: stream-int: replace si_cant_put() with si_rx_room_{blk,rdy}()
by Willy Tarreau
· Thu Nov 15 11:08:52 2018 +0100
4b962a4
MEDIUM: stream-int: fix the si_cant_put() calls used for buffer readiness
by Willy Tarreau
· Thu Nov 15 11:03:21 2018 +0100
3367d41
MEDIUM: stream-int: fix the si_cant_put() calls used for end point readiness
by Willy Tarreau
· Thu Nov 15 10:57:41 2018 +0100
0cd3bd6
MINOR: stream-int: rename si_applet_{want|stop|cant}_{get|put}
by Willy Tarreau
· Tue Nov 06 18:46:37 2018 +0100
581abd3
MEDIUM: stream-int: replace channel_alloc_buffer() with si_alloc_ibuf() everywhere
by Willy Tarreau
· Thu Oct 25 10:21:41 2018 +0200
4e7cc33
BUILD: compiler: rename __unreachable() to my_unreachable()
by Willy Tarreau
· Sat Oct 20 17:45:48 2018 +0200
b059b89
BUILD: lua: silence some compiler warnings after WILL_LJMP
by Willy Tarreau
· Tue Oct 16 17:57:36 2018 +0200
9635e03
MINOR: lua: all functions calling lua_yieldk() may return
by Willy Tarreau
· Tue Oct 16 17:52:55 2018 +0200
e09101e
BUILD: lua: silence some compiler warnings about potential null derefs (#2)
by Willy Tarreau
· Tue Oct 16 17:37:12 2018 +0200
526aed2
Revert "BUILD: lua: silence some compiler warnings about potential null derefs"
by Willy Tarreau
· Tue Oct 16 17:32:55 2018 +0200
f1ffb39
BUILD: lua: silence some compiler warnings about potential null derefs
by Willy Tarreau
· Mon Oct 15 11:55:18 2018 +0200
61c112a
REORG: http: move HTTP rules parsing to http_rules.c
by Willy Tarreau
· Tue Oct 02 16:43:32 2018 +0200
79e5733
REORG: http: move the code to different files
by Willy Tarreau
· Tue Oct 02 16:01:16 2018 +0200
04f1e2d
REORG: http: move error codes production and processing to http.c
by Willy Tarreau
· Mon Sep 10 18:04:24 2018 +0200
6b952c8
REORG: http: move http_get_path() to http.c
by Willy Tarreau
· Mon Sep 10 17:45:34 2018 +0200
9e643ea
BUG/MEDIUM: hlua: Don't call RESET_SAFE_LJMP if SET_SAFE_LJMP returns 0.
by Olivier Houchard
· Mon Aug 27 12:59:14 2018 +0200
54f2bcf
BUG/MAJOR: thread: lua: Wrong SSL context initialization.
by Frédéric Lécaille
· Wed Aug 29 13:46:24 2018 +0200
594c8c5
BUG/MEDIUM: hlua: Make sure we drain the output buffer when done.
by Olivier Houchard
· Tue Aug 28 14:41:31 2018 +0200
83ed5d5
BUG/MINOR: lua: Bad HTTP client request duration.
by Frédéric Lécaille
· Wed Jul 18 14:25:26 2018 +0200
7ee465f
BUG/MINOR: lua: fix extra 500ms added to socket timeouts
by Cyril Bonté
· Sun Aug 19 22:08:50 2018 +0200
7bb6345
BUG/MEDIUM: lua: socket timeouts are not applied
by Cyril Bonté
· Fri Aug 17 23:51:02 2018 +0200
268a707
MEDIUM: add set-priority-class and set-priority-offset
by Patrick Hemmer
· Fri May 11 12:52:31 2018 -0400
Next »