haproxy/include/haproxy
Aurelien DARRAGON b289fd1420 MINOR: event_hdl: normal tasks support for advanced async mode
advanced async mode (EVENT_HDL_ASYNC_TASK) provided full support for
custom tasklets registration.

Due to the similarities between tasks and tasklets, it may be useful
to use the advanced mode with an existing task (not a tasklet).
While the API did not explicitly disallow this usage, things would
get bad if we try to wakeup a task using tasklet_wakeup() for notifying
the task about new events.

To make the API support both custom tasks and tasklets, we use the
TASK_IS_TASKLET() macro to call the proper waking function depending
on the task's type:

  - For tasklets: we use tasklet_wakeup()
  - For tasks: we use task_wakeup()

If 68e692da0 ("MINOR: event_hdl: add event handler base api")
is being backported, then this commit should be backported with it.
2023-04-05 08:58:17 +02:00
..
acl-t.h CLEANUP: assorted typo fixes in the code and comments 2022-10-30 17:17:56 +01:00
acl.h
action-t.h MINOR: stick-table: implement the sc-add-gpc() action 2023-01-07 09:11:22 +01:00
action.h
activity-t.h MEDIUM: tasks/activity: combine the called function with the caller 2022-09-08 16:21:22 +02:00
activity.h MEDIUM: tasks/activity: combine the called function with the caller 2022-09-08 16:21:22 +02:00
api-t.h
api.h
applet-t.h MINOR: anon: store the anonymizing key in the CLI's appctx 2022-09-17 11:27:09 +02:00
applet.h MINOR: applet: Uninline appctx_free() 2023-04-05 08:46:06 +02:00
arg-t.h MINOR: sample: add ARGC_OPT 2023-01-27 15:18:59 +01:00
arg.h
atomic.h BUILD: atomic: atomic.h may need compiler.h on ARMv8.2-a 2022-12-08 08:36:24 +01:00
auth-t.h
auth.h
backend-t.h
backend.h BUG/MINOR: backend: make be_usable_srv() consistent when stopping 2023-03-31 07:45:08 +02:00
base64.h
buf-t.h
buf.h MINOR: buffer: add br_single() to check if a buffer ring has more than one buf 2023-03-16 18:45:46 +01:00
bug.h MINOR: pools: report a replaced memory allocator instead of just malloc_trim() 2023-03-22 18:05:02 +01:00
capture-t.h
capture.h
cbuf-t.h
cbuf.h
cfgcond-t.h MINOR: cfgcond: Implement enabled condition expression 2023-02-21 11:44:55 +01:00
cfgcond.h
cfgdiag.h
cfgparse.h BUG/MINOR: config: crt-list keywords mistaken for bind ssl keywords 2023-02-16 16:14:37 +01:00
channel-t.h MEDIUM: tree-wide: Move flags about shut from the channel to the SC 2023-04-05 08:57:06 +02:00
channel.h MEDIUM: tree-wide: Move flags about shut from the channel to the SC 2023-04-05 08:57:06 +02:00
check-t.h BUG/MINOR: checks: restore legacy on-error fastinter behavior 2022-12-07 17:03:55 +01:00
check.h
chunk.h MINOR: chunk: inline alloc_trash_chunk() 2022-08-17 10:45:22 +02:00
cli-t.h CLEANUP: assorted typo fixes in the code and comments 2022-11-30 14:02:36 +01:00
cli.h CLEANUP: assorted typo fixes in the code and comments 2022-11-30 14:02:36 +01:00
clock.h BUG/MINOR: clock: do not mix wall-clock and monotonic time in uptime calculation 2023-02-08 11:06:55 +01:00
compat.h
compiler.h MINOR: compiler: add a TOSTR() macro to turn a value into a string 2023-02-22 09:10:53 +01:00
compression-t.h
compression.h
connection-t.h BUG/MAJOR: conn-idle: fix hash indexing issues on idle conns 2022-10-03 12:06:36 +02:00
connection.h BUG/MEDIUM: connection: Preserve flags when a conn is removed from an idle list 2023-03-16 15:34:20 +01:00
counters-t.h MINOR: stats: add by HTTP version cumulated number of sessions and requests 2023-02-03 17:55:49 +01:00
cpuset-t.h MEDIUM: cpu-map: replace the process number with the thread group number 2022-07-15 19:43:10 +02:00
cpuset.h MEDIUM: cpu-map: replace the process number with the thread group number 2022-07-15 19:43:10 +02:00
debug.h MINOR: wdt: do not rely on threads_to_dump anymore 2022-07-01 19:26:35 +02:00
defaults.h BUG/MINOR: mworker: use MASTER_MAXCONN as default maxconn value 2023-03-09 14:28:44 +01:00
dgram-t.h
dgram.h
dict-t.h
dict.h
dns-t.h
dns.h
dynbuf-t.h
dynbuf.h MINOR: dynbuf: set POOL_F_NO_FAIL on buffer allocation 2023-03-21 09:15:13 +01:00
errors.h MINOR: logs: startup-logs can use a shm for logging the reload 2022-10-13 16:50:22 +02:00
event_hdl-t.h BUG/MEDIUM: event_hdl: clean soft-stop handling 2023-04-05 08:58:17 +02:00
event_hdl.h MINOR: event_hdl: normal tasks support for advanced async mode 2023-04-05 08:58:17 +02:00
extcheck.h
fcgi-app-t.h
fcgi-app.h
fcgi.h
fd-t.h BUG/MAJOR: fd/threads: close a race on closing connections after takeover 2023-03-09 14:01:48 +01:00
fd.h BUG/MINOR: thread: always reload threads_enabled in loops 2023-01-19 19:22:17 +01:00
filters-t.h
filters.h
fix-t.h
fix.h
flt_http_comp.h
freq_ctr-t.h
freq_ctr.h MINOR: freq_ctr: add opportunistic versions of swrate_add() 2022-12-20 14:51:12 +01:00
frontend.h
global-t.h BUG/MINOR: haproxy: Fix option to disable the fast-forward 2023-02-21 11:44:55 +01:00
global.h
h1_htx.h
h1.h
h2.h MINOR: h2: add h2_phdr_to_ist() to make ISTs from pseudo headers 2023-01-26 15:49:43 +01:00
h3_stats-t.h
h3_stats.h
h3.h MINOR: h3: add traces on decode_qcs callback 2023-02-17 17:31:52 +01:00
hash.h
hlua_fcn.h MEDIUM: hlua: Dynamic list of frontend/backend in Lua 2023-04-05 08:58:16 +02:00
hlua-t.h MEDIUM: hlua_fcn: dynamic server iteration and indexing 2023-04-05 08:58:16 +02:00
hlua.h
hpack-dec.h
hpack-enc.h
hpack-huff.h
hpack-tbl-t.h
hpack-tbl.h
hq_interop.h
http_ana-t.h BUG/MINOR: cache: Cache response even if request has "no-cache" directive 2023-02-21 18:35:41 +01:00
http_ana.h CLEANUP: http-ana: Remove HTTP_MSG_ERROR state 2023-01-13 11:22:13 +01:00
http_client-t.h MINOR: httpclient: Make the CLI flags public for future use 2022-12-21 11:21:07 +01:00
http_client.h MINOR: httpclient: export httpclient_create_proxy() 2022-09-14 14:34:39 +02:00
http_ext-t.h MEDIUM: proxy/http_ext: implement dynamic http_ext 2023-01-27 15:18:59 +01:00
http_ext.h MEDIUM: proxy/http_ext: implement dynamic http_ext 2023-01-27 15:18:59 +01:00
http_fetch.h
http_htx-t.h
http_htx.h MINOR: http_htx: add http_prepend_header() to prepend value to header 2023-01-27 15:18:59 +01:00
http_rules.h
http-hdr-t.h
http-hdr.h
http-t.h
http.h MINOR: http_fetch: add case insensitive support for smp_fetch_url_param 2023-03-30 14:11:10 +02:00
htx-t.h MINOR: flags/htx: use flag dumping to show htx and start-line flags 2022-09-09 16:59:29 +02:00
htx.h CLEANUP: assorted typo fixes in the code and comments 2023-04-01 18:33:40 +02:00
init-t.h
init.h
initcall.h
intops.h
istbuf.h
jwt-t.h
jwt.h
lb_chash-t.h
lb_chash.h
lb_fas-t.h
lb_fas.h
lb_fwlc-t.h
lb_fwlc.h
lb_fwrr-t.h
lb_fwrr.h
lb_map-t.h
lb_map.h
list-t.h
list.h CLEANUP: assorted typo fixes in the code and comments 2022-10-30 17:17:56 +01:00
listener-t.h CLEANUP: listener: only store conn counts for local threads 2023-02-28 10:28:47 +01:00
listener.h MINOR: listener: pause_listener() becomes suspend_listener() 2023-02-23 15:05:05 +01:00
log-t.h
log.h BUG/MINOR: httpclient/log: free of invalid ptr with httpclient_log_format 2022-12-22 15:39:31 +01:00
mailers-t.h
mailers.h
map-t.h
map.h
mqtt-t.h
mqtt.h
mux_fcgi-t.h CLEANUP: assorted typo fixes in the code and comments 2022-11-30 14:02:36 +01:00
mux_h1-t.h CLEANUP: assorted typo fixes in the code and comments 2022-11-30 14:02:36 +01:00
mux_h2-t.h CLEANUP: mux-h2: Remove unused fields in h2c structures 2022-11-17 14:33:15 +01:00
mux_quic-t.h MINOR: mux-quic: implement client-fin timeout 2023-02-20 11:20:18 +01:00
mux_quic.h MEDIUM: mux-quic: Don't expect data from server as long as request is unfinished 2023-02-27 17:45:45 +01:00
mworker-t.h
mworker.h
namespace-t.h
namespace.h
ncbuf-t.h CLEANUP: assorted typo fixes in the code and comments 2022-08-06 17:12:51 +02:00
ncbuf.h CLEANUP: ncbuf: inline small functions 2022-11-29 15:14:39 +01:00
net_helper.h
obj_type-t.h
obj_type.h
openssl-compat.h BUG/MINOR: ssl: Undefined reference when building with OPENSSL_NO_DEPRECATED 2023-04-03 11:46:54 +02:00
pattern-t.h CLEANUP: assorted typo fixes in the code and comments 2022-10-30 17:17:56 +01:00
pattern.h
payload.h
peers-t.h BUILD: peers: peers-t.h depends on stick-table-t.h 2022-12-16 15:51:44 +01:00
peers.h
pipe-t.h
pipe.h
pool-os.h REORG: pool: move all the OS specific code to pool-os.h 2022-12-08 17:32:57 +01:00
pool-t.h OPTIM: pool: split the read_mostly from read_write parts in pool_head 2022-12-20 14:51:12 +01:00
pool.h MINOR: pools: report a replaced memory allocator instead of just malloc_trim() 2023-03-22 18:05:02 +01:00
port_range-t.h
port_range.h
proto_quic.h
proto_sockpair.h
proto_tcp.h
proto_udp.h
proto_uxst.h
protobuf-t.h
protobuf.h
protocol-t.h
protocol.h
proxy-t.h CLEANUP: proxy: remove stop_time related dead code 2023-03-28 20:26:47 +02:00
proxy.h MINOR: stats: add by HTTP version cumulated number of sessions and requests 2023-02-03 17:55:49 +01:00
qmux_http.h MINOR: h3/hq-interop: handle no data in decode_qcs() with FIN set 2023-02-17 16:25:00 +01:00
qmux_trace.h MEDIUM: mux-quic: implement shutw 2022-12-22 16:22:39 +01:00
qpack-dec.h MINOR: qpack: report error on enc/dec stream close 2022-08-17 11:04:53 +02:00
qpack-enc.h
qpack-t.h
qpack-tbl-t.h
qpack-tbl.h
queue-t.h
queue.h CLEANUP: assorted typo fixes in the code and comments 2022-10-30 17:17:56 +01:00
quic_cc-t.h BUG/MAJOR: quic: Congestion algorithms states shared between the connection 2023-04-02 13:10:13 +02:00
quic_cc.h MINOR: quic: Adjustments for generic control congestion traces 2023-03-31 09:54:59 +02:00
quic_conn-t.h MEDIUM: quic: Ack delay implementation 2023-03-31 13:41:17 +02:00
quic_conn.h MEDIUM: quic: release closing connections on stopping 2023-03-08 14:41:28 +01:00
quic_enc.h MINOR: h3: extend function for QUIC varint encoding 2023-01-19 15:09:01 +01:00
quic_frame-t.h CLEANUP: assorted typo fixes in the code and comments 2023-04-01 18:33:40 +02:00
quic_frame.h CLEANUP: assorted typo fixes in the code and comments 2023-04-01 18:33:40 +02:00
quic_loss-t.h CLEANUP: assorted typo fixes in the code and comments 2022-10-30 17:17:56 +01:00
quic_loss.h CLEANUP: assorted typo fixes in the code and comments 2022-11-30 14:02:36 +01:00
quic_sock-t.h CLEANUP: quic: improve naming for rxbuf/datagrams handling 2022-10-13 11:06:48 +02:00
quic_sock.h MINOR: quic_sock: un-statify quic_conn_sock_fd_iocb() 2023-03-10 14:30:01 +01:00
quic_stats-t.h MINOR: quic: detect connection migration 2022-12-02 14:45:43 +01:00
quic_stats.h
quic_stream-t.h
quic_stream.h BUG/MINOR: mux-quic: Fix memleak on QUIC stream buffer for unacknowledged data 2022-08-20 19:08:31 +02:00
quic_tls-t.h MINOR: quic: Replace v2 draft definitions by those of the final 2 version 2023-01-17 16:35:20 +01:00
quic_tls.h MINOR: quic: Add traces about QUIC TLS key update 2023-03-03 19:12:26 +01:00
quic_tp-t.h MINOR: quic: Update version_information transport parameter to draft-14 2023-02-06 11:54:07 +01:00
quic_tp.h MINOR: quic: Traces adjustments at proto level. 2023-03-31 09:54:59 +02:00
receiver-t.h CLEANUP: quic: improve naming for rxbuf/datagrams handling 2022-10-13 11:06:48 +02:00
regex-t.h
regex.h
resolvers-t.h MINOR: resolvers: shut the warning when "default" resolvers is implicit 2022-08-24 14:56:42 +02:00
resolvers.h
ring-t.h CLEANUP: ring: remove the now unused ring's offset 2023-02-24 09:26:30 +01:00
ring.h MINOR: ring: ring_cast_from_area() cast from an allocated area 2022-10-13 16:45:28 +02:00
sample_data-t.h
sample-t.h
sample.h BUILD: sample: use __fallthrough in smp_is_rw() and smp_dup() 2022-11-14 11:14:02 +01:00
sc_strm.h MINOR: tree-wide: Simplifiy some tests on SHUT flags by accessing SCs directly 2023-04-05 08:57:06 +02:00
server-t.h BUG/MINOR: event_hdl: fix rid storage type 2023-04-05 08:58:17 +02:00
server.h MINOR: cfgparse/server: move (min/max)conn postparsing logic into dedicated function 2023-02-08 14:48:21 +01:00
session-t.h MEDIUM: stick-table: set the track-sc limit at boottime via tune.stick-counters 2023-01-06 18:08:49 +01:00
session.h MEDIUM: stick-table: set the track-sc limit at boottime via tune.stick-counters 2023-01-06 18:08:49 +01:00
shctx-t.h
shctx.h
show_flags-t.h BUILD: flags: really restrict the cases where flags are exposed 2022-11-24 08:32:27 +01:00
signal-t.h
signal.h
sink-t.h MINOR: ring: add support for a backing-file 2022-08-12 11:18:46 +02:00
sink.h BUG/MEDIUM: sink: bad init sequence on tcp sink from a ring. 2022-09-13 17:03:30 +02:00
sock_inet.h
sock_unix.h
sock-t.h
sock.h
spoe-t.h CLEANUP: assorted typo fixes in the code and comments 2023-04-01 18:33:40 +02:00
spoe.h CLEANUP: assorted typo fixes in the code and comments 2023-04-01 18:33:40 +02:00
ssl_ckch-t.h MINOR: ssl: Store 'ocsp-update' mode in the ckch_data and check for inconsistencies 2022-12-21 11:21:07 +01:00
ssl_ckch.h MEDIUM: ssl: rename the struct "cert_key_and_chain" to "ckch_data" 2022-12-02 11:48:30 +01:00
ssl_crtlist-t.h
ssl_crtlist.h
ssl_ocsp-t.h MINOR: ssl: Use ocsp update task for "update ssl ocsp-response" command 2023-03-14 11:07:32 +01:00
ssl_ocsp.h MINOR: ssl/ocsp: add a function to check the OCSP update configuration 2023-02-08 11:40:31 +01:00
ssl_sock-t.h MINOR: ssl-sock: pass the CO_SFL_MSG_MORE info down the stack 2023-03-17 16:43:51 +01:00
ssl_sock.h MINOR: ssl: rename confusing ssl_bind_kws 2023-02-16 16:03:45 +01:00
ssl_utils.h MINOR: ssl: Move OCSP code to a dedicated source file 2022-12-21 11:21:07 +01:00
stats-t.h MINOR: stats: add by HTTP version cumulated number of sessions and requests 2023-02-03 17:55:49 +01:00
stats.h BUG/MEDIUM: stats: fix resolvers dump 2023-02-06 07:53:03 +01:00
stconn-t.h MEDIUM: tree-wide: Move flags about shut from the channel to the SC 2023-04-05 08:57:06 +02:00
stconn.h MINOR: stconn: Report a send activity when endpoint is willing to consume data 2023-02-27 17:45:45 +01:00
stick_table-t.h MINOR: stick-table: store a per-table hash seed and use it 2022-11-28 18:58:06 +01:00
stick_table.h MEDIUM: stick-table: set the track-sc limit at boottime via tune.stick-counters 2023-01-06 18:08:49 +01:00
stream-t.h MEDIUM: stick-table: set the track-sc limit at boottime via tune.stick-counters 2023-01-06 18:08:49 +01:00
stream.h MEDIUM: stick-table: set the track-sc limit at boottime via tune.stick-counters 2023-01-06 18:08:49 +01:00
task-t.h MINOR: flags/task: use flag dumping for task state 2022-09-09 16:52:09 +02:00
task.h BUG/MAJOR: sched: protect task during removal from wait queue 2022-11-22 09:10:08 +01:00
tcp_rules.h
tcpcheck-t.h CLEANUP: assorted typo fixes in the code and comments 2022-10-30 17:17:56 +01:00
tcpcheck.h
thread-t.h MEDIUM: debug/threads: make the lock debugging take tgroups into account 2022-07-15 19:41:26 +02:00
thread.h BUG/MEDIUM: event_hdl: clean soft-stop handling 2023-04-05 08:58:17 +02:00
ticks.h
time.h
tinfo-t.h MINOR: quic: create a global list dedicated for closing QUIC conns 2023-03-08 14:39:48 +01:00
tinfo.h MINOR: tinfo: make thread_set functions return nth group/mask instead of first 2023-02-28 10:28:47 +01:00
tools-t.h
tools.h MINOR: ssl: Add OCSP request helper function 2022-12-21 11:21:07 +01:00
trace-t.h MEDIUM: applet/trace: Register a new trace source with its events 2023-04-05 08:46:06 +02:00
trace.h BUG/MINOR: trace: fix hardcoded level for TRACE_PRINTF 2023-03-22 15:31:55 +01:00
uri_auth-t.h
uri_auth.h
uri_normalizer-t.h
uri_normalizer.h
vars-t.h
vars.h
version.h [RELEASE] Released version 2.8-dev0 2022-12-01 15:25:34 +01:00
xref-t.h
xref.h
xxhash.h