Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
159a0c7bd95de751931bcb83cb65bbf4025dbed1
/
src
/
connection.c
6f82322
BUG/MAJOR: connection: fix server used_conns with H2 + reuse safe
by Amaury Denoyelle
· Tue Mar 19 10:34:45 2024 +0100
926a561
MINOR: session: rename private conns elements
by Amaury Denoyelle
· Thu Mar 14 11:24:10 2024 +0100
5c6f20b
BUG/MINOR: connection: parse PROXY TLV for LOCAL mode
by Amaury Denoyelle
· Tue May 14 16:36:59 2024 +0200
0d95330
MINOR: connection: add sample fetches to report per-connection glitches
by Willy Tarreau
· Wed Jan 17 18:00:21 2024 +0100
fe83f58
CLEANUP: Stop checking the pointer before calling `task_free()`
by Tim Duesterhus
· Sat Apr 22 17:47:34 2023 +0200
3a7b539
BUG/MEDIUM: connection: Preserve flags when a conn is removed from an idle list
by Christopher Faulet
· Thu Mar 16 11:43:05 2023 +0100
9a0f8ba
MINOR: connection: add a BUG_ON() to detect destroying connection in idle list
by Olivier Houchard
· Tue Jan 24 23:59:32 2023 +0100
8522348
BUG/MAJOR: conn-idle: fix hash indexing issues on idle conns
by Willy Tarreau
· Thu Sep 29 20:32:43 2022 +0200
16f3da4
MINOR: connection: support HTTP/3.0 for smp_*_http_major fetch
by Amaury Denoyelle
· Tue Jun 07 11:57:20 2022 +0200
61f5675
CLEANUP: connection: rename all occurrences of stconn "cs" to "sc"
by Willy Tarreau
· Fri May 27 10:00:13 2022 +0200
bde14ad
CLEANUP: check: rename all occurrences of stconn "cs" to "sc"
by Willy Tarreau
· Fri May 27 10:04:04 2022 +0200
cb086c6
REORG: stconn: rename conn_stream.{c,h} to stconn.{c,h}
by Willy Tarreau
· Fri May 27 09:47:12 2022 +0200
5edca2f
REORG: rename cs_utils.h to sc_strm.h
by Willy Tarreau
· Fri May 27 09:25:10 2022 +0200
74568cf
CLEANUP: stconn: rename final state manipulation functions from cs_* to sc_*
by Willy Tarreau
· Fri May 27 09:03:30 2022 +0200
d68ff01
CLEANUP: stconn: rename cs{,_get}_{src,dst} to sc_*
by Willy Tarreau
· Fri May 27 08:57:21 2022 +0200
1084238
CLEANUP: stconn: rename cs_conn_get_first() to conn_get_first_sc()
by Willy Tarreau
· Wed May 18 18:11:27 2022 +0200
fd9417b
CLEANUP: stconn: rename cs_conn() to sc_conn()
by Willy Tarreau
· Wed May 18 16:23:22 2022 +0200
ea27f48
CLEANUP: stconn: rename cs_{check,strm,strm_task} to sc_strm_*
by Willy Tarreau
· Wed May 18 16:10:52 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
7cb9e6c
CLEANUP: stream: rename "csf" and "csb" to "scf" and "scb"
by Willy Tarreau
· Tue May 17 19:40:40 2022 +0200
4596fe2
CLEANUP: conn_stream: tree-wide rename to stconn (stream connector)
by Willy Tarreau
· Tue May 17 19:07:51 2022 +0200
b5821e1
MINOR: connection: add flag MX_FL_FRAMED to mark muxes relying on framed xprt
by Willy Tarreau
· Tue Apr 26 11:54:08 2022 +0200
11ba404
CLEANUP: listener: replace all uses of bind_conf->is_ssl with BC_O_USE_SSL
by Willy Tarreau
· Fri May 20 15:56:32 2022 +0200
0367b4c
MINOR: session: get rid of the now unused SESS_FL_ADDR_*_SET flags
by Willy Tarreau
· Mon May 02 17:51:51 2022 +0200
030b3e6
MINOR: connection: get rid of the CO_FL_ADDR_*_SET flags
by Willy Tarreau
· Mon May 02 17:47:46 2022 +0200
faafe4b
CLEANUP: connections/deinit: destroy the idle_conns tasks
by Willy Tarreau
· Wed Apr 27 18:53:07 2022 +0200
acef5e2
MINOR: tree-wide: always consider EWOULDBLOCK in addition to EAGAIN
by Willy Tarreau
· Mon Apr 25 20:32:15 2022 +0200
2bb5edc
BUG/MEDIUM: connection: Don't crush context pointer location if it is a CS
by Christopher Faulet
· Fri Apr 15 10:57:09 2022 +0200
a97cced
CLEANUP: muxes: Remove MX_FL_CLEAN_ABRT flag
by Christopher Faulet
· Tue Apr 12 18:04:10 2022 +0200
6b0a0fb
CLEANUP: tree-wide: Remove any ref to stream-interfaces
by Christopher Faulet
· Mon Apr 04 11:29:28 2022 +0200
aa91d62
MINOR: stream-int/connection: Move conn_si_send_proxy() in the connection scope
by Christopher Faulet
· Fri Apr 01 13:22:50 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
784b868
MEDIUM: quic: move conn->qc into conn->handle
by Willy Tarreau
· Mon Apr 11 14:18:10 2022 +0200
07ecfc5
MEDIUM: connection: panic when calling FD-specific functions on FD-less conns
by Willy Tarreau
· Mon Apr 11 18:07:03 2022 +0200
0e9c264
MINOR: connection: use conn_fd() when displaying connection errors
by Willy Tarreau
· Mon Apr 11 18:01:28 2022 +0200
dddfec5
CLEANUP: connection: reduce the with of the mux dump output
by Willy Tarreau
· Sat Apr 09 11:37:35 2022 +0200
d318e4e
BUILD: connection: do not declare register_mux_proto() inline
by Willy Tarreau
· Wed Mar 02 14:46:45 2022 +0100
17e6b73
MINOR: connection: Transform safety check in PROXYv2 parsing into BUG_ON()
by Tim Duesterhus
· Fri Feb 25 21:44:27 2022 +0100
f09af57
CLEANUP: connection: Indicate unreachability to the compiler in conn_recv_proxy
by Tim Duesterhus
· Fri Feb 25 21:44: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
95a61e8
MINOR: stream: Add pointer to front/back conn-streams into stream struct
by Christopher Faulet
· Wed Dec 22 14:22:03 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
1329f2a
REORG: conn_stream: move conn-stream stuff in dedicated files
by Christopher Faulet
· Thu Dec 16 17:32:56 2021 +0100
add4306
CLEANUP: muxes: do not use a dynamic trash in list_mux_protos()
by Willy Tarreau
· Fri Feb 18 11:07:40 2022 +0100
6f74976
MEDIUM: connection: rename fc_conn_err and bc_conn_err to fc_err and bc_err
by Willy Tarreau
· Fri Nov 05 17:07:03 2021 +0100
ac03ef2
MINOR: connection: add alternative mux_ops param for conn_install_mux_be
by Amaury Denoyelle
· Thu Oct 28 16:36:11 2021 +0200
2454bda
MINOR: connection: implement function to update ALPN
by Amaury Denoyelle
· Mon Oct 18 14:32:36 2021 +0200
e83e882
MEDIUM: connection: Assign session addresses when NetScaler CIP proto is parsed
by Christopher Faulet
· Mon Oct 25 08:23:22 2021 +0200
c105c92
MEDIUM: connection: Assign session addresses when PROXY line is received
by Christopher Faulet
· Mon Oct 25 08:17:11 2021 +0200
b097aef
MEDIUM: connection: Rely on addresses at stream level to make proxy line
by Christopher Faulet
· Mon Oct 25 08:05:28 2021 +0200
4bfce39
CLEANUP: connection: No longer export make_proxy_line_v1/v2 functions
by Christopher Faulet
· Fri Oct 22 14:33:59 2021 +0200
8e358af
MINOR: connection: remove unneeded memset 0 for idle conns
by Amaury Denoyelle
· Wed Oct 20 15:11:37 2021 +0200
8de90c7
REORG: connection: uninline the rest of the alloc/free stuff
by Willy Tarreau
· Wed Oct 06 19:11:10 2021 +0200
aac777f
REORG: connection: move the largest inlines from connection.h to connection.c
by Willy Tarreau
· Wed Oct 06 18:48:28 2021 +0200
930428c
REORG: connection: uninline conn_notify_mux() and conn_delete_from_tree()
by Willy Tarreau
· Wed Oct 06 18:27:28 2021 +0200
e5983ff
REORG: connection: move the hash-related stuff to connection.c
by Willy Tarreau
· Wed Oct 06 17:14:49 2021 +0200
fd21c6c
MINOR: connection: use uint64_t for the hashes
by Willy Tarreau
· Wed Oct 06 17:09:41 2021 +0200
1057bee
REORG: ssl: move ssl_sock_is_ssl() to connection.h and rename it
by Willy Tarreau
· Wed Oct 06 11:38:44 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
4837293
BUG/MINOR: connection: prevent null deref on mux cleanup task allocation
by Amaury Denoyelle
· Thu Sep 16 12:15:12 2021 +0200
942c167
MINOR: connection: Add a connection error code sample fetch for backend side
by Remi Tricot-Le Breton
· Wed Sep 01 15:52:15 2021 +0200
3d2093a
MINOR: connection: Add a connection error code sample fetch
by Remi Tricot-Le Breton
· Thu Jul 29 09:45:49 2021 +0200
d943a04
MINOR: connection: add helper conn_append_debug_info()
by Willy Tarreau
· Wed Jun 16 17:35:20 2021 +0200
e59b516
BUILD: connection: move list_mux_proto() to connection.c
by Willy Tarreau
· Sat May 08 14:06:09 2021 +0200
908908e
BUILD: connection: include tools.h in connection.c
by Willy Tarreau
· Sat May 08 13:07:31 2021 +0200
d3a88c1
MEDIUM: connection: close front idling connection on soft-stop
by Amaury Denoyelle
· Mon May 03 10:47:51 2021 +0200
242f8ce
MINOR: connection: Make bc_http_major compatible with tcp-checks
by Christopher Faulet
· Wed Apr 14 15:46:49 2021 +0200
f4dd9ae
BUG/MINOR: connection: Fix fc_http_major and bc_http_major for TCP connections
by Christopher Faulet
· Wed Apr 14 15:40:30 2021 +0200
0182516
CLEANUP: config: make the cfg_keyword parsers take a const for the defproxy
by Willy Tarreau
· Tue Mar 09 09:53:46 2021 +0100
56c176a
CLEANUP: connection: Consistently use `struct ist` to process all TLV types
by Tim Duesterhus
· Sat Mar 06 20:06:51 2021 +0100
615f81e
MINOR: connection: Use a `struct ist` to store proxy_authority
by Tim Duesterhus
· Sat Mar 06 20:06:50 2021 +0100
002bd77
CLEANUP: connection: Use istptr / istlen for proxy_unique_id
by Tim Duesterhus
· Sat Mar 06 20:06:49 2021 +0100
430bf4a
MINOR: server: allocate a per-thread struct for the per-thread connections stuff
by Willy Tarreau
· Thu Mar 04 09:45:32 2021 +0100
8ede3db
MINOR: backend: handle reuse for conns with no server as target
by Amaury Denoyelle
· Tue Mar 02 14:38:53 2021 +0100
8990b01
MINOR: connection: allocate dynamically hash node for backend conns
by Amaury Denoyelle
· Fri Feb 19 15:29:16 2021 +0100
36441f4
MINOR: connection: remove pointers for prehash in conn_hash_params
by Amaury Denoyelle
· Wed Feb 17 16:25:31 2021 +0100
1921d20
MINOR: connection: use proxy protocol as parameter for srv conn hash
by Amaury Denoyelle
· Thu Jan 14 10:15:29 2021 +0100
d10a200
MINOR: connection: use src addr as parameter for srv conn hash
by Amaury Denoyelle
· Thu Feb 11 19:45:19 2021 +0100
01a287f
MINOR: connection: use dst addr as parameter for srv conn hash
by Amaury Denoyelle
· Thu Feb 11 16:46:53 2021 +0100
9b626e3
MINOR: connection: use sni as parameter for srv conn hash
by Amaury Denoyelle
· Wed Jan 06 17:03:27 2021 +0100
1a58aca
MINOR: connection: use the srv pointer for the srv conn hash
by Amaury Denoyelle
· Fri Jan 22 16:47:46 2021 +0100
81c6f76
MINOR: connection: prepare hash calcul for server conns
by Amaury Denoyelle
· Mon Jan 18 14:57:50 2021 +0100
f232cb3
MEDIUM: connection: replace idle conn lists by eb trees
by Amaury Denoyelle
· Wed Jan 06 16:14:12 2021 +0100
746b051
MEDIUM: connection: make use of the control layer check_events/ignore_events
by Willy Tarreau
· Fri Dec 11 17:06:11 2020 +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
586f71b
REORG: connection: move the socket iocb (conn_fd_handler) to sock.c
by Willy Tarreau
· Fri Dec 11 15:54:36 2020 +0100
827fee7
MINOR: connection: remove sock-specific code from conn_sock_send()
by Willy Tarreau
· Fri Dec 11 15:26:55 2020 +0100
8b250ba
CLEANUP: connection: open-code conn_cond_update_polling() and update the comment
by Willy Tarreau
· Fri Dec 11 11:19:24 2020 +0100
5a1d439
CLEANUP: connection: use fd_stop_both() instead of conn_stop_polling()
by Willy Tarreau
· Fri Dec 11 09:56:53 2020 +0100
38b4d2e
CLEANUP: connection: do not use conn->owner when the session is known
by Willy Tarreau
· Fri Nov 20 17:08:15 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
e53e7ec
CLEANUP: protocol: remove the ->drain() function
by Willy Tarreau
· Wed Oct 14 16:05:00 2020 +0200
6b79f38
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Thu Jul 23 00:32:55 2020 +0500
08016ab
MEDIUM: connection: Add private connections synchronously in session server list
by Christopher Faulet
· Wed Jul 01 16:10:06 2020 +0200
2883fcf
BUG/MINOR: connection: See new connection as available only on reuse always
by Christopher Faulet
· Wed Jul 01 14:59:43 2020 +0200
aa27853
BUG/MEDIUM: connection: Don't consider new private connections as available
by Christopher Faulet
· Tue Jun 30 14:47:46 2020 +0200
4d82bf5
MINOR: connection: align toremove_{lock,connections} and cleanup into idle_conns
by Willy Tarreau
· Sun Jun 28 00:19:17 2020 +0200
4cabfc1
BUG/MAJOR: connection: always disable ready events once reported
by Willy Tarreau
· Wed Jun 17 16:26:22 2020 +0200
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
Next »