Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
a1547ce0a01cd63e5930de5f08148b523ac03cf0
/
src
/
mux_pt.c
fd9417b
CLEANUP: stconn: rename cs_conn() to sc_conn()
by Willy Tarreau
· Wed May 18 16:23:22 2022 +0200
2f2318d
MEDIUM: stconn: merge the app_ops and the data_cb fields
by Willy Tarreau
· Wed May 18 10:17:16 2022 +0200
c105492
CLEANUP: stdesc: rename the stream connector ->cs field to ->sc
by Willy Tarreau
· Wed May 18 07:43:52 2022 +0200
32c095b
CLEANUP: mux-pt: add and use pt_sc() to retrieve the stream connector
by Willy Tarreau
· Wed May 18 07:36:10 2022 +0200
4596fe2
CLEANUP: conn_stream: tree-wide rename to stconn (stream connector)
by Willy Tarreau
· Tue May 17 19:07:51 2022 +0200
798465b
CLEANUP: conn_stream: rename the conn_stream's endp to sedesc
by Willy Tarreau
· Tue May 17 18:20:02 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
24d15b1
CLEANUP: conn_stream: rename the cs_endpoint's context to "conn"
by Willy Tarreau
· Mon May 16 17:17:16 2022 +0200
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
4201ab7
CLEANUP: muxes: make mux->attach/detach take a conn_stream endpoint
by Willy Tarreau
· Tue May 10 19:18:52 2022 +0200
cfbfc3f
MINOR: mux-pt: remove the now unneeded conn_stream from the context
by Willy Tarreau
· Tue May 10 19:23:39 2022 +0200
7a2705f
CLEANUP: mux-pt: always take the endp from the context not the cs
by Willy Tarreau
· Tue May 10 11:21:15 2022 +0200
4de1bff
MINOR: muxes: Don't expect to call release function with no mux defined
by Christopher Faulet
· Thu Apr 14 11:36:41 2022 +0200
7c452cc
MINOR: muxes: Don't expect to have a mux without connection in destroy callback
by Christopher Faulet
· Thu Apr 14 11:08:26 2022 +0200
64b8d33
MINOR: connection: unconst mux's get_fist_cs() callback function
by Christopher Faulet
· Fri Apr 01 13:21:41 2022 +0200
070b91b
MEDIUM: conn-stream: Be prepared to fail to attach a cs to a mux
by Christopher Faulet
· Thu Mar 31 19:27:18 2022 +0200
0797656
MINOR: conn-stream/connection: Move SHR/SHW modes in the connection scope
by Christopher Faulet
· Thu Mar 31 11:05:05 2022 +0200
1bceee2
MINOR: mux-pt: Rely on the endpoint instead of the conn-stream when possible
by Christopher Faulet
· Thu Mar 24 10:51:08 2022 +0100
b041b23
MEDIUM: conn-stream: Move remaning flags from CS to endpoint
by Christopher Faulet
· Thu Mar 24 10:27:02 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
e9e4820
MINOR: conn-stream: Move some CS flags to the endpoint
by Christopher Faulet
· Tue Mar 22 18:13:29 2022 +0100
db90f2a
MEDIUM: conn-stream: Add an endpoint structure in the conn-stream
by Christopher Faulet
· Tue Mar 22 16:06:25 2022 +0100
9388204
MAJOR: conn-stream: Invert conn-stream endpoint and its context
by Christopher Faulet
· Wed Jan 19 14:56:50 2022 +0100
413713f
BUG/MAJOR: mux_pt: always report the connection error to the conn_stream
by Willy Tarreau
· Thu Mar 31 16:47:46 2022 +0200
fbff854
BUG/MAJOR: mux-pt: Always destroy the backend connection on detach
by Christopher Faulet
· Wed Mar 09 15:55:58 2022 +0100
693b23b
MEDIUM: tree-wide: Use unsafe conn-stream API when it is relevant
by Christopher Faulet
· Mon Feb 28 09:09:05 2022 +0100
2da02ae
BUILD: tree-wide: Avoid warnings about undefined entities retrieved from a CS
by Christopher Faulet
· Thu Feb 24 13:45:27 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
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
dd2d0d8
MEDIUM: conn-stream: Be prepared to use an appctx as conn-stream endpoint
by Christopher Faulet
· Mon Dec 20 09:34:32 2021 +0100
897d612
MEDIUM: conn-stream: No longer access connection field directly
by Christopher Faulet
· Fri Dec 17 17:28:35 2021 +0100
1329f2a
REORG: conn_stream: move conn-stream stuff in dedicated files
by Christopher Faulet
· Thu Dec 16 17:32:56 2021 +0100
e00ad35
MEDIUM: stream: No longer release backend conn-stream on connection retry
by Christopher Faulet
· Thu Dec 16 14:44:31 2021 +0100
564e39c
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
Next »