Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
889e49a86bb87c27a30461c6c8d50c943aaa5f3c
/
src
/
mux_pt.c
2ae03fa
BUG/MAJOR: mux_pt: always report the connection error to the conn_stream
by Willy Tarreau
· Thu Mar 31 16:47:46 2022 +0200
126137f
BUG/MAJOR: mux-pt: Always destroy the backend connection on detach
by Christopher Faulet
· Wed Mar 09 15:55:58 2022 +0100
93a466b
MINOR: stream-int: Notify mux when the buffer is not stuck when calling rcv_buf
by Christopher Faulet
· Tue Sep 21 15:50:55 2021 +0200
6eb3d37
MINOR: trace: make trace sources read_mostly
by Willy Tarreau
· Sat Apr 10 19:29:26 2021 +0200
e2c65ba
BUG/MINOR: mux-pt: Fix a possible UAF because of traces in mux_pt_io_cb
by Christopher Faulet
· Sat Apr 10 09:02:32 2021 +0200
c0ae097
MINOIR: mux-pt/trace: Register a new trace source with its events
by Christopher Faulet
· Thu Apr 08 16:45:11 2021 +0200
28da3f5
MEDIUM: mux-pt: Expose passthrough in the list of supported mux protocols
by Christopher Faulet
· Fri Feb 05 16:44:46 2021 +0100
7416314
CLEANUP: task: make sure tasklet handlers always indicate their statuses
by Willy Tarreau
· Sat Mar 13 11:30:19 2021 +0100
144f84a
MEDIUM: task: extend the state field to 32 bits
by Willy Tarreau
· Tue Mar 02 16:09:26 2021 +0100
691d503
MINOR: xprt/mux: export all *_io_cb functions so that "show fd" resolves them
by Willy Tarreau
· Wed Jan 20 14:55:01 2021 +0100
2ded48d
MINOR: connection: make conn_sock_drain() use the control layer's ->drain()
by Willy Tarreau
· Fri Dec 11 16:20:34 2020 +0100
7d7b11c
MINOR: mux-pt: take care of CS_SHR_DRAIN in shutr()
by Willy Tarreau
· Fri Dec 11 11:07:19 2020 +0100
4c8ad84
MINOR: mux: Add a ctl parameter to get the exit status of the multiplexers
by Christopher Faulet
· Tue Oct 06 14:59:17 2020 +0200
26256f8
MINOR: stream: Pass an optional input buffer when a stream is created
by Christopher Faulet
· Mon Sep 14 11:40:13 2020 +0200
5a7ca29
BUG/MEDIUM: mux-pt: Release the tasklet during an HTTP upgrade
by Christopher Faulet
· Tue Nov 03 09:11:43 2020 +0100
236c93b
MINOR: connection: Set the conncetion target during its initialisation
by Christopher Faulet
· Thu Jul 02 09:19:54 2020 +0200
46a030c
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Sun Jul 05 16:36:08 2020 +0500
dfd3de8
REORG: include: move stream.h to haproxy/stream{,-t}.h
by Willy Tarreau
· Thu Jun 04 23:46:14 2020 +0200
7ea393d
REORG: include: move connection.h to haproxy/connection{,-t}.h
by Willy Tarreau
· Thu Jun 04 18:02:10 2020 +0200
cea0e1b
REORG: include: move task.h to haproxy/task{,-t}.h
by Willy Tarreau
· Thu Jun 04 17:25:40 2020 +0200
16f958c
REORG: include: split common/htx.h into haproxy/htx{,-t}.h
by Willy Tarreau
· Wed Jun 03 08:44:35 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
a48e7ec
MINOR: mux_pt: Don't try to remove the connection from the idle list.
by Olivier Houchard
· Tue Mar 10 18:01:25 2020 +0100
6d01572
MINOR: connection: remove checks for CO_FL_HANDSHAKE before I/O
by Willy Tarreau
· Thu Jan 23 17:30:42 2020 +0100
911db9b
MEDIUM: connection: use CO_FL_WAIT_XPRT more consistently than L4/L6/HANDSHAKE
by Willy Tarreau
· Thu Jan 23 16:27:54 2020 +0100
c192b0a
MEDIUM: connection: remove CO_FL_CONNECTED and only rely on CO_FL_WAIT_*
by Willy Tarreau
· Thu Jan 23 09:11:58 2020 +0100
ee1a6fc
MINOR: connection: make the last arg of subscribe() a struct wait_event*
by Willy Tarreau
· Fri Jan 17 07:52:13 2020 +0100
7872d1f
MEDIUM: connection: merge the send_wait and recv_wait entries
by Willy Tarreau
· Fri Jan 10 07:06:05 2020 +0100
17ccd1a
BUG/MEDIUM: connection: add a mux flag to indicate splice usability
by Willy Tarreau
· Fri Jan 17 16:19:34 2020 +0100
9b8e11e
MINOR: mux: Add a new method to get informations about a mux.
by Olivier Houchard
· Fri Oct 25 16:19:26 2019 +0200
2ed389d
BUG/MEDIUM: mux_pt: Only call the wake emthod if nobody subscribed to receive.
by Olivier Houchard
· Fri Oct 18 14:18:29 2019 +0200
ea510fc
BUG/MEDIUM: mux_pt: Don't destroy the connection if we have a stream attached.
by Olivier Houchard
· Fri Oct 18 13:56:40 2019 +0200
9dce2c5
Revert e8826ded5fea3593d89da2be5c2d81c522070995.
by Olivier Houchard
· Fri Oct 18 10:59:30 2019 +0200
e8826de
BUG/MEDIUM: mux_pt: Make sure we don't have a conn_stream before freeing.
by Olivier Houchard
· Thu Oct 17 18:02:53 2019 +0200
ea32b0f
BUG/MEDIUM: mux_pt: Don't call unsubscribe if we did not subscribe.
by Olivier Houchard
· Sat Aug 10 23:56:16 2019 +0200
3193037
MAJOR: http: Deprecate and ignore the option "http-use-htx"
by Christopher Faulet
· Mon Jul 15 10:16:58 2019 +0200
9cca8df
BUG/MINOR: mux-pt: do not pretend there's more data after a read0
by Willy Tarreau
· Mon Jul 15 06:47:54 2019 +0200
3c39a7d
CLEANUP: connection: rename the wait_event.task field to .tasklet
by Willy Tarreau
· Fri Jun 14 14:42:29 2019 +0200
e573323
CLEANUP: build: rename some build macros to use the USE_* ones
by Willy Tarreau
· Wed May 22 19:24:06 2019 +0200
e179d0e
MEDIUM: connections: Provide a xprt_ctx for each xprt method.
by Olivier Houchard
· Thu Mar 21 18:27:17 2019 +0100
61840e7
BUG/MEDIUM: muxes: Don't dereference mux context if null in release functions
by Christopher Faulet
· Mon Apr 15 09:33:32 2019 +0200
39a96ee
MEDIUM: muxes: Be prepared to don't own connection during the release
by Christopher Faulet
· Mon Apr 08 10:52:21 2019 +0200
73c1207
MINOR: muxes: Pass the context of the mux to destroy() instead of the connection
by Christopher Faulet
· Mon Apr 08 11:23:22 2019 +0200
51f73eb
MEDIUM: muxes: Add an optional input buffer during mux initialization
by Christopher Faulet
· Mon Apr 08 11:22:47 2019 +0200
87a8f35
CLEANUP: muxes/stream-int: Remove flags CS_FL_READ_NULL and SI_FL_READ_NULL
by Christopher Faulet
· Fri Mar 22 14:51:36 2019 +0100
203b2b0
MINOR: muxes: Report the Last read with a dedicated flag
by Christopher Faulet
· Fri Mar 08 09:23:46 2019 +0100
9c9da5e
MINOR: muxes: Don't bother to LIST_DEL(&conn->list) before calling conn_free().
by Olivier Houchard
· Fri Jan 18 17:25:29 2019 +0100
00f18a3
BUG/MINOR: server: fix logic flaw in idle connection list management
by Willy Tarreau
· Sat Jan 26 12:19:01 2019 +0100
3d2ee55
CLEANUP: connection: rename conn->mux_ctx to conn->ctx
by Willy Tarreau
· Wed Dec 19 14:12:10 2018 +0100
4f6516d
CLEANUP: connection: rename subscription events values and event field
by Willy Tarreau
· Wed Dec 19 13:59:17 2018 +0100
d94f877
BUG/MINOR: mux_pt: Set CS_FL_WANT_ROOM when count is zero in rcv_buf() callback
by Christopher Faulet
· Mon Dec 17 13:21:02 2018 +0100
f502aca
MEDIUM: mux: provide the session to the init() and attach() method.
by Olivier Houchard
· Fri Dec 14 19:42:40 2018 +0100
e0f24ee
MINOR: connection: realign empty buffers in muxes, not transport layers
by Willy Tarreau
· Fri Dec 14 10:51:23 2018 +0100
8706c81
BUG/MEDIUM: mux_pt: Always set CS_FL_RCV_MORE.
by Olivier Houchard
· Tue Dec 04 19:17:25 2018 +0100
8defe4b
MINOR: mux: add a "max_streams" method.
by Olivier Houchard
· Sun Dec 02 01:31:17 2018 +0100
b72d98a
BUG/MEDIUM: mux_pt: Don't try to send if handshake is not done.
by Olivier Houchard
· Fri Nov 30 13:17:48 2018 +0100
1ced485
BUG/MEDIUM: mux_pt: Don't forget to unsubscribe() on attach.
by Olivier Houchard
· Thu Nov 29 13:49:59 2018 +0100
8ceae72
MEDIUM: init: use initcall for all fixed size pool creations
by Willy Tarreau
· Mon Nov 26 11:58:30 2018 +0100
0108d90
MEDIUM: init: convert all trivial registration calls to initcalls
by Willy Tarreau
· Sun Nov 25 19:14:37 2018 +0100
7c6f8b1
MAJOR: connections: Detach connections from streams.
by Olivier Houchard
· Tue Nov 13 16:48:36 2018 +0100
060ed43
MINOR: mux: Add a destroy() method.
by Olivier Houchard
· Tue Nov 06 16:32:42 2018 +0100
d540b36
MINOR: mux: Add a new "avail_streams" method.
by Olivier Houchard
· Mon Nov 05 18:37:53 2018 +0100
b6c32ee
MEDIUM: mux: Teach the mux_pt how to deal with idle connections.
by Olivier Houchard
· Mon Nov 05 18:28:43 2018 +0100
fafd398
MINOR: mux: implement a get_first_cs() method
by Willy Tarreau
· Sun Nov 18 21:29:20 2018 +0100
4eb7d74
MEDIUM: stream-int: Try to read data even if channel's buffer seems to be full
by Christopher Faulet
· Thu Oct 11 15:29:21 2018 +0200
53216e7
MEDIUM: connections: Don't directly mess with the polling from the upper layers.
by Olivier Houchard
· Wed Oct 10 15:46:36 2018 +0200
83a0cd8
MINOR: connections: Introduce an unsubscribe method.
by Olivier Houchard
· Fri Sep 28 17:57:58 2018 +0200
175a2bb
MINOR: connection: pass the proxy when creating a connection
by Willy Tarreau
· Wed Sep 12 12:02:05 2018 +0200
af4021e
MEDIUM: connections: Get rid of the recv() method.
by Olivier Houchard
· Thu Aug 09 13:06:55 2018 +0200
ad7f0ad
BUG/MEDIUM: mux_pt: dereference the connection with care in mux_pt_wake()
by Willy Tarreau
· Fri Aug 24 15:48:59 2018 +0200
32f61c0
MINOR: mux: Unlink ALPN and multiplexers to rather speak of mux protocols
by Christopher Faulet
· Tue Apr 10 14:33:41 2018 +0200
2d5292a
MINOR: mux: Add info about the supported side in alpn_mux_list structure
by Christopher Faulet
· Tue Mar 06 14:43:47 2018 +0100
d44a9b3
MEDIUM: mux: Remove const on the buffer in mux->snd_buf()
by Christopher Faulet
· Fri Jul 27 11:59:41 2018 +0200
910b2bc
MEDIUM: connections/mux: Revamp the send direction.
by Olivier Houchard
· Tue Jul 17 18:49:38 2018 +0200
6ff2039
MINOR: connections/mux: Add a new "subscribe" method.
by Olivier Houchard
· Tue Jul 17 18:46:31 2018 +0200
7f3225f
MINOR: connection: add a flags argument to rcv_buf()
by Willy Tarreau
· Tue Jun 19 06:15:17 2018 +0200
d9cf540
MEDIUM: mux: make mux->rcv_buf() take a size_t for the count
by Willy Tarreau
· Wed Jul 18 11:29:06 2018 +0200
deccd11
MEDIUM: mux: make mux->snd_buf() take the byte count in argument
by Willy Tarreau
· Thu Jun 14 18:38:55 2018 +0200
787db9a
MEDIUM: connection: make xprt->snd_buf() take the byte count in argument
by Willy Tarreau
· Thu Jun 14 18:31:46 2018 +0200
a48c141
BUG/MAJOR: connection: refine the situations where we don't send shutw()
by Willy Tarreau
· Fri Dec 22 18:46:33 2017 +0100
28f1cb9
MINOR: mux: add flags to describe a mux's capabilities
by Willy Tarreau
· Wed Dec 20 16:14:44 2017 +0100
7fc96d5
MINOR: mux: Make sure every string is woken up after the handshake.
by Olivier Houchard
· Thu Nov 23 18:25:47 2017 +0100
ed339a3
BUG/MAJOR: mux_pt: don't dereference a connstream after ->wake()
by Willy Tarreau
· Fri Nov 03 15:55:24 2017 +0100
7da120b
MINOR: mux: Only define pipe functions on linux.
by Olivier Houchard
· Wed Nov 01 13:55:10 2017 +0100
436d333
MEDIUM: connection: add a destroy callback
by Willy Tarreau
· Sun Oct 08 11:16:46 2017 +0200
2c52a2b
MEDIUM: connection: make mux->detach() release the connection
by Willy Tarreau
· Sun Oct 08 11:00:17 2017 +0200
4b79524
MEDIUM: mux_pt: make cs_shutr() / cs_shutw() properly close the connection
by Willy Tarreau
· Thu Oct 05 18:47:38 2017 +0200
ecdb3fe
MINOR: conn_stream: modify cs_shut{r,w} API to pass the desired mode
by Willy Tarreau
· Thu Oct 05 15:25:48 2017 +0200
4ff3b89
MINOR: connection: make conn_stream users also check for per-stream error flag
by Willy Tarreau
· Mon Oct 16 15:17:17 2017 +0200
9aaf778
MAJOR: connection : Split struct connection into struct connection and struct conn_stream.
by Olivier Houchard
· Wed Sep 13 18:30:23 2017 +0200
7a3f0df
MINOR: mux_pt: implement remaining mux_ops methods
by Olivier Houchard
· Wed Sep 13 18:30:23 2017 +0200
f649082
MINOR: mux: register the pass-through mux for any ALPN string
by Willy Tarreau
· Thu Sep 21 19:43:21 2017 +0200
53a4766
MEDIUM: connection: start to introduce a mux layer between xprt and data
by Willy Tarreau
· Mon Aug 28 10:53:00 2017 +0200