Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
6796a06278767ac71c90c3fe858ad889db78981a
/
src
/
sink.c
6796a06
CLEANUP: conn_stream: merge cs_new_from_{mux,applet} into cs_new_from_endp()
by Willy Tarreau
· Wed May 11 16:11:24 2022 +0200
0698c80
CLEANUP: applet: remove the unneeded appctx->owner
by Willy Tarreau
· Wed May 11 14:09:57 2022 +0200
cba8838
CLEANUP: ring: pass the ring watch flags to ring_attach_cli(), not in ctx.cli
by Willy Tarreau
· Thu May 05 15:18:57 2022 +0200
42cc831
CLEANUP: sink: use the generic context to store the forwarder's context
by Willy Tarreau
· Wed May 04 20:42:23 2022 +0200
03bd395
MEDIUM: stream: remove the confusing SF_ADDR_SET flag
by Willy Tarreau
· Mon May 02 16:36:47 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
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
8abe712
MINOR: stream-int: Remove SI_FL_NOLINGER/NOHALF to rely on CS flags instead
by Christopher Faulet
· Wed Mar 30 15:10:18 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
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
7750850
CLEANUP: Reapply ist.cocci with `--include-headers-for-types --recursive-includes`
by Tim Duesterhus
· Tue Mar 15 13:11:06 2022 +0100
53fa787
BUG/MEDIUM: sink: Properly get the stream-int in appctx callback functions
by Christopher Faulet
· Wed Mar 16 10:01:26 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
108ce5a
MINOR: sink: Always access the stream-int via the conn-stream
by Christopher Faulet
· Thu Dec 23 14:00:22 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
13a35e5
MAJOR: conn_stream/stream-int: move the appctx to the conn-stream
by Christopher Faulet
· Mon Dec 20 15:34:16 2021 +0100
dd0b144
BUG/MINOR: sink: Use the right field in appctx context in release callback
by Christopher Faulet
· Fri Jan 14 15:03:22 2022 +0100
16f16af
MINOR: stream: Use backend stream-interface dst address instead of target_addr
by Christopher Faulet
· Wed Oct 27 09:34:56 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
e612446
MINOR: applet: remove the thread mask from appctx_new()
by Willy Tarreau
· Mon Sep 13 10:07:38 2021 +0200
8a8f270
CLEANUP: server: a separate function for initializing the per_thr field
by Miroslav Zagorac
· Tue Jun 15 15:33:20 2021 +0200
72faef3
MEDIUM: global: remove dead code from nbproc/bind_proc removal
by Willy Tarreau
· Tue Jun 15 08:36:30 2021 +0200
817538e
BUILD: sink: include proxy.h in sink.c
by Willy Tarreau
· Sat May 08 20:20:21 2021 +0200
4bad5e2
BUILD: sink: include tools.h in sink.c
by Willy Tarreau
· Sat May 08 13:05:30 2021 +0200
b205bfd
CLEANUP: cli/tree-wide: properly re-align the CLI commands' help messages
by Willy Tarreau
· Fri May 07 11:38:37 2021 +0200
b2be9a1
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Sat Apr 24 13:25:42 2021 +0500
2b71810
CLEANUP: lists/tree-wide: rename some list operations to avoid some confusion
by Willy Tarreau
· Wed Apr 21 07:32:39 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
94aab06
MEDIUM: log: support tcp or stream addresses on log lines.
by Emeric Brun
· Fri Apr 02 10:41:36 2021 +0200
9533a70
MINOR: log: register config file and line number on log servers.
by Emeric Brun
· Fri Apr 02 10:13:43 2021 +0200
30c0537
REORG: server: use flags for parse_server
by Amaury Denoyelle
· Mon Mar 08 16:36:46 2021 +0100
144f84a
MEDIUM: task: extend the state field to 32 bits
by Willy Tarreau
· Tue Mar 02 16:09:26 2021 +0100
61cfdf4
CLEANUP: tree-wide: replace free(x);x=NULL with ha_free(&x)
by Willy Tarreau
· Sat Feb 20 10:46:51 2021 +0100
a7ebffe
BUG/MINOR: sink: Return an allocation failure in __sink_new if strdup() fails
by Tim Duesterhus
· Sun Jan 03 19:54:11 2021 +0100
26256f8
MINOR: stream: Pass an optional input buffer when a stream is created
by Christopher Faulet
· Mon Sep 14 11:40:13 2020 +0200
fdabf49
BUG/MAJOR: ring: tcp forward on ring can break the reader counter.
by Emeric Brun
· Wed Dec 02 17:02:09 2020 +0100
0237c4e
BUG/MEDIUM: local log format regression.
by Emeric Brun
· Fri Nov 27 16:24:34 2020 +0100
fc633b6
CLEANUP: config: Return ERR_NONE from config callbacks instead of 0
by Christopher Faulet
· Fri Nov 06 15:24:23 2020 +0100
9b7587a
MINOR: connection: make sockaddr_alloc() take the address to be copied
by Willy Tarreau
· Thu Oct 15 07:32:10 2020 +0200
d3db384
BUG/MEDIUM: resolve: fix init resolving for ring and peers section.
by Emeric Brun
· Tue Jul 21 16:54:36 2020 +0200
12941c8
MEDIUM: log: adds log forwarding section.
by Emeric Brun
· Tue Jul 07 14:19:42 2020 +0200
5464885
MEDIUM: log/sink: re-work and merge of build message API.
by Emeric Brun
· Mon Jul 06 15:54:06 2020 +0200
46a030c
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Sun Jul 05 16:36:08 2020 +0500
b39a375
BUG/MINOR: log: missing timezone on iso dates.
by Emeric Brun
· Thu Jul 02 17:22:17 2020 +0200
9f9b22c
MINOR: log: add time second fraction field to rfc5424 log timestamp.
by Emeric Brun
· Thu Jul 02 16:16:59 2020 +0200
47d1718
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Sun Jun 21 21:42:57 2020 +0500
b255105
CLEANUP: include: tree-wide alphabetical sort of include files
by Willy Tarreau
· Tue Jun 09 09:07:15 2020 +0200
36979d9
REORG: include: move the error reporting functions to from log.h to errors.h
by Willy Tarreau
· Fri Jun 05 17:27:29 2020 +0200
6be7849
REORG: include: move cfgparse.h to haproxy/cfgparse.h
by Willy Tarreau
· Fri Jun 05 00:00:29 2020 +0200
aeed4a8
REORG: include: move log.h to haproxy/log{,-t}.h
by Willy Tarreau
· Thu Jun 04 22:01:04 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
83487a8
REORG: include: move cli.h to haproxy/cli{,-t}.h
by Willy Tarreau
· Thu Jun 04 20:19:54 2020 +0200
3727a8a
REORG: include: move signal.h to haproxy/signal{,-t}.h
by Willy Tarreau
· Thu Jun 04 17:37:26 2020 +0200
ba2f73d
REORG: include: move sink.h to haproxy/sink{,-t}.h
by Willy Tarreau
· Wed Jun 03 20:02:28 2020 +0200
d2ad57c
REORG: include: move ring to haproxy/ring{,-t}.h
by Willy Tarreau
· Wed Jun 03 19:43:35 2020 +0200
92b4f13
REORG: include: move time.h from common/ to haproxy/
by Willy Tarreau
· Mon Jun 01 11:05:15 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
eb6f701
REORG: include: move ist.h from common/ to import/
by Willy Tarreau
· Wed May 27 16:21:26 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
570a22b
BUILD: sink: address build warning on 32-bit architectures
by Willy Tarreau
· Tue Jun 02 12:00:46 2020 +0200
9755647
MEDIUM: ring: add new srv statement to support octet counting forward
by Emeric Brun
· Sat May 30 01:42:45 2020 +0200
494c505
MEDIUM: ring: add server statement to forward messages from a ring
by Emeric Brun
· Thu May 28 11:13:15 2020 +0200
9f2ff3a
BUG/MINOR: error on unknown statement in ring section.
by Emeric Brun
· Fri May 29 15:47:52 2020 +0200
99c453d
MEDIUM: ring: new section ring to declare custom ring buffers.
by Emeric Brun
· Mon May 25 15:01:04 2020 +0200
d68a692
Revert "MEDIUM: sink: add global statement to create a new ring (sink buffer)"
by Willy Tarreau
· Wed May 20 12:04:39 2020 +0200
957ec59
MEDIUM: sink: add global statement to create a new ring (sink buffer)
by Emeric Brun
· Mon May 11 14:41:31 2020 +0200
bd16381
MEDIUM: sink: build header in sink_write for log formats
by Emeric Brun
· Wed May 06 14:33:46 2020 +0200
fcf9498
MINOR: ring: make the parse function automatically set the handler/release
by Willy Tarreau
· Fri Nov 15 15:07:21 2019 +0100
a63a5c2
MINOR: sink: Set the default max length for a message to BUFSIZE
by Christopher Faulet
· Fri Nov 15 15:10:12 2019 +0100
f8340e3
MINOR: sink: change ring buffer "buf0"'s format to "timed"
by Willy Tarreau
· Thu Sep 26 08:05:15 2019 +0200
53ba9d9
MINOR: sink: finally implement support for SINK_FMT_{TIMED,ISO}
by Willy Tarreau
· Thu Sep 26 08:03:58 2019 +0200
7e9776a
MINOR: fd/log/sink: make the non-blocking initialization depend on the initialized bit
by Willy Tarreau
· Fri Aug 30 14:41:47 2019 +0200
1d181e4
MEDIUM: ring: implement a wait mode for watchers
by Willy Tarreau
· Fri Aug 30 11:17:01 2019 +0200
8f24023
MINOR: sink: now report the number of dropped events on output
by Willy Tarreau
· Tue Aug 27 16:41:06 2019 +0200
9f830d7
MINOR: sink: implement "show events" to show supported sinks and dump the rings
by Willy Tarreau
· Mon Aug 26 18:17:04 2019 +0200
4ed23ca
MINOR: sink: add support for ring buffers
by Willy Tarreau
· Fri Aug 23 15:47:49 2019 +0200
a1426de
MINOR: sink: now call the generic fd write function
by Willy Tarreau
· Tue Aug 27 14:21:02 2019 +0200
799e9ed
MINOR: sink: set the fd-type sinks to non-blocking
by Willy Tarreau
· Tue Aug 27 10:34:32 2019 +0200
973e662
MINOR: sink: add a support for file descriptors
by Willy Tarreau
· Tue Aug 20 11:57:52 2019 +0200
67b5a16
MINOR: sink: create definitions a minimal code for event sinks
by Willy Tarreau
· Sun Aug 11 16:38:56 2019 +0200