Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
2f2318df87a1023593462b262723c1120024f041
/
src
/
applet.c
2f2318d
MEDIUM: stconn: merge the app_ops and the data_cb fields
by Willy Tarreau
· Wed May 18 10:17:16 2022 +0200
cb04166
CLEANUP: stconn: tree-wide rename stream connector flags CS_FL_* to SC_FL_*
by Willy Tarreau
· Tue May 17 19:44:42 2022 +0200
4596fe2
CLEANUP: conn_stream: tree-wide rename to stconn (stream connector)
by Willy Tarreau
· Tue May 17 19:07:51 2022 +0200
d869e13
CLEANUP: applet: rename the sedesc pointer from "endp" to "sedesc"
by Willy Tarreau
· Tue May 17 18:05:31 2022 +0200
ea59b02
CLEANUP: conn_stream: rename cs_endpoint to sedesc (stream endpoint descriptor)
by Willy Tarreau
· Tue May 17 17:53:22 2022 +0200
65d0597
CLEANUP: conn_stream: rename the cs_endpoint's target to "se"
by Willy Tarreau
· Mon May 16 17:29:42 2022 +0200
b605c42
CLEANUP: conn_stream: rename the stream endpoint flags CS_EP_* to SE_FL_*
by Willy Tarreau
· Tue May 17 17:04:55 2022 +0200
d56377c
CLEANUP: conn_stream: apply endp_flags.cocci tree-wide
by Willy Tarreau
· Tue May 17 16:31:36 2022 +0200
2d9cc85
MINOR: conn-stream/applet: Stop setting appctx as the endpoint context
by Christopher Faulet
· Mon May 16 17:29:37 2022 +0200
d9c1d33
MEDIUM: applet: Add support for async appctx startup on a thread subset
by Christopher Faulet
· Mon May 16 17:15:31 2022 +0200
6095d57
MINOR: applet: Add API to start applet on a thread subset
by Christopher Faulet
· Mon May 16 17:09:48 2022 +0200
d0c4ec0
MINOR: applet: Add function to release appctx on error during init stage
by Christopher Faulet
· Thu May 12 15:18:48 2022 +0200
8718c95
MINOR: applet: Add a function to finalize frontend appctx startup
by Christopher Faulet
· Thu May 12 15:15:53 2022 +0200
ac57bb5
MINOR: applet: Prepare appctx to own the session on frontend side
by Christopher Faulet
· Mon May 09 08:08:26 2022 +0200
0698c80
CLEANUP: applet: remove the unneeded appctx->owner
by Willy Tarreau
· Wed May 11 14:09:57 2022 +0200
1c3ead4
MINOR: applet: replace cs_applet_shut() with appctx_shut()
by Willy Tarreau
· Tue May 10 19:42:22 2022 +0200
66435e5
CLEANUP: applet: use the appctx's endp instead of cs->endp
by Willy Tarreau
· Tue May 10 11:32:31 2022 +0200
009e42b
CLEANUP: applet: make appctx_new() initialize the whole appctx
by Willy Tarreau
· Thu May 05 19:55:03 2022 +0200
f12f32a
MINOR: applet: reserve some generic storage in the applet's context
by Willy Tarreau
· Mon May 02 14:57:03 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
6059ba4
MEDIUM: conn-stream/applet: Add a data callback for applets
by Christopher Faulet
· Fri Apr 01 16:34:53 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
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
cb2fa36
REORG: applet: Uninline appctx_new function
by Christopher Faulet
· Wed Mar 23 11:46:56 2022 +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
1eedf9b
BUG/MINOR: applet: Notify the other side if data were consumed by an applet
by Christopher Faulet
· Tue Apr 27 17:08:10 2021 +0200
d68d4f1
MEDIUM: dynbuf: remove last usages of b_alloc_margin()
by Willy Tarreau
· Mon Mar 22 14:44:31 2021 +0100
144f84a
MEDIUM: task: extend the state field to 32 bits
by Willy Tarreau
· Tue Mar 02 16:09:26 2021 +0100
b255105
CLEANUP: include: tree-wide alphabetical sort of include files
by Willy Tarreau
· Tue Jun 09 09:07:15 2020 +0200
dfd3de8
REORG: include: move stream.h to haproxy/stream{,-t}.h
by Willy Tarreau
· Thu Jun 04 23:46:14 2020 +0200
f1d32c4
REORG: include: move channel.h to haproxy/channel{,-t}.h
by Willy Tarreau
· Thu Jun 04 21:07:02 2020 +0200
5e539c9
REORG: include: move stream_interface.h to haproxy/stream_interface{,-t}.h
by Willy Tarreau
· Thu Jun 04 20:45:39 2020 +0200
3f0f82e
REORG: move applet.h to haproxy/applet{,-t}.h
by Willy Tarreau
· Thu Jun 04 19:42:41 2020 +0200
cea0e1b
REORG: include: move task.h to haproxy/task{,-t}.h
by Willy Tarreau
· Thu Jun 04 17:25:40 2020 +0200
853b297
REORG: include: split mini-clist into haproxy/list and list-t.h
by Willy Tarreau
· Wed May 27 18:01:47 2020 +0200
4c7e4b7
REORG: include: update all files to use haproxy/api.h or api-t.h if needed
by Willy Tarreau
· Wed May 27 12:58:42 2020 +0200
19920d6
BUG/MEDIUM: applet: always check a fast running applet's activity before killing
by Willy Tarreau
· Fri Oct 11 14:15:47 2019 +0200
8280ea9
MINOR: applet: make appctx use their own pool
by Willy Tarreau
· Thu Jul 18 10:41:36 2019 +0200
dcb0e1d
MEDIUM: appctx/debug: force a crash if an appctx spins over itself forever
by Willy Tarreau
· Thu Apr 25 19:12:26 2019 +0200
22d63a2
MINOR: applet: measure and report an appctx's call rate in "show sess"
by Willy Tarreau
· Wed Apr 24 08:41:29 2019 +0200
8bb2ffb
MINOR: stream-int: replace si_{want,stop}_put() with si_rx_endp_{more,done}()
by Willy Tarreau
· Wed Nov 14 17:54:13 2018 +0100
8be7cd7
MEDIUM: stream-int: use si_rx_buff_{rdy,blk} to report buffer readiness
by Willy Tarreau
· Wed Nov 14 15:12:08 2018 +0100
d0f5bbc
MINOR: stream-int: rename SI_FL_WAIT_ROOM to SI_FL_RXBLK_ROOM
by Willy Tarreau
· Wed Nov 14 11:10:26 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
21028b5
MEDIUM: appctx: check for allocation attempts in buffer allocation callbacks
by Willy Tarreau
· Tue Nov 06 17:32: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
673867c
MAJOR: applets: Use tasks, instead of rolling our own scheduler.
by Olivier Houchard
· Fri May 25 16:58:52 2018 +0200
b4a4d9a
MEDIUM: applets: Don't process more than 200 active applets at once
by Christopher Faulet
· Wed Nov 15 22:14:49 2017 +0100
7163056
MAJOR: polling: Use active_appels_mask instead of applets_active_queue
by Christopher Faulet
· Tue Nov 14 11:30:47 2017 +0100
595d7b7
MINOR: applets: Use a bitfield to track applets activity per-thread
by Christopher Faulet
· Tue Nov 14 11:28:52 2017 +0100
9dcf9b6
MINOR: threads: Use __decl_hathreads to declare locks
by Christopher Faulet
· Mon Nov 13 10:34:01 2017 +0100
2a944ee
BUILD: threads: Rename SPIN/RWLOCK macros using HA_ prefix
by Christopher Faulet
· Tue Nov 07 10:42:54 2017 +0100
f65610a
CLEANUP: threads: rename process_mask to thread_mask
by Willy Tarreau
· Tue Oct 31 16:06:06 2017 +0100
5f4a47b
CLEANUP: threads: replace the last few 1UL<<tid with tid_bit
by Willy Tarreau
· Tue Oct 31 15:59:32 2017 +0100
1138fd0
MAJOR: threads/applet: Handle multithreading for applets
by Emeric Brun
· Mon Jun 19 12:38:55 2017 +0200
6c57dc9
MINOR: applet: Check applets_active_queue before processing applets queue
by Christopher Faulet
· Tue Jun 27 16:07:01 2017 +0200
c730606
MAJOR: applet: applet scheduler rework.
by Emeric Brun
· Mon Jun 26 16:36:53 2017 +0200
a73e59b
BUG/MAJOR: Fix how the list of entities waiting for a buffer is handled
by Christopher Faulet
· Fri Dec 09 17:30:18 2016 +0100
1cbe74c
MINOR: applet: Count number of (active) applets
by Christopher Faulet
· Tue Dec 06 09:13:22 2016 +0100
aa977ba
MINOR: stream-int: rename si_applet_done() to si_applet_wake_cb()
by Willy Tarreau
· Fri Sep 25 11:45:06 2015 +0200
9994238
BUG/MAJOR: applet: use a separate run queue to maintain list integrity
by Willy Tarreau
· Fri Sep 25 17:56:16 2015 +0200
64bca9d
MINOR: applet: rename applet_runq to applet_active_queue
by Willy Tarreau
· Fri Sep 25 17:39:23 2015 +0200
fe12793
MEDIUM: applet: make the applets only use si_applet_{cant|want|stop}_{get|put}
by Willy Tarreau
· Tue Apr 21 19:23:39 2015 +0200
d4da196
MEDIUM: applet: centralize the call to si_applet_done() in the I/O handler
by Willy Tarreau
· Mon Apr 20 01:31:23 2015 +0200
3c595ac
MEDIUM: applet: implement a run queue for active appctx
by Willy Tarreau
· Sun Apr 19 09:59:31 2015 +0200
81f38d6
MEDIUM: applet: add basic support for an applet run queue
by Willy Tarreau
· Mon Apr 13 17:11:11 2015 +0200