Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
026e8fb290c34eba20c5d283a61d664cf678785b
/
src
/
backend.c
026e8fb
CLEANUP: stconn: tree-wide rename stconn states CS_ST/SB_* to SC_ST/SB_*
by Willy Tarreau
· Tue May 17 19:47:17 2022 +0200
cb04166
CLEANUP: stconn: tree-wide rename stream connector flags CS_FL_* to SC_FL_*
by Willy Tarreau
· Tue May 17 19:44:42 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
798465b
CLEANUP: conn_stream: rename the conn_stream's endp to sedesc
by Willy Tarreau
· Tue May 17 18:20:02 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
0cfcc40
CLEANUP: conn_stream: apply cs_endp_flags.cocci tree-wide
by Willy Tarreau
· Tue May 17 16:10:17 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
03bd395
MEDIUM: stream: remove the confusing SF_ADDR_SET flag
by Willy Tarreau
· Mon May 02 16:36:47 2022 +0200
b3f0d42
CLEANUP: backend: make alloc_{bind,dst}_address() idempotent
by Willy Tarreau
· Mon May 02 16:20:36 2022 +0200
a6c4a48
BUG/MEDIUM: conn-stream: Don't erase endpoint flags on reset
by Christopher Faulet
· Thu Apr 28 18:25:24 2022 +0200
7e2e4f8
CLEANUP: tree-wide: remove 25 occurrences of unneeded fcntl.h
by Willy Tarreau
· Tue Apr 26 10:30:35 2022 +0200
7c9a0fe
MEDIUM: backend: add new "balance hash <expr>" algorithm
by Willy Tarreau
· Mon Apr 25 10:25:34 2022 +0200
7ae48a7
BUG/MAJOR: connection: Never remove connection from idle lists outside the lock
by Christopher Faulet
· Fri Apr 22 17:56:24 2022 +0200
a33ff7a
BUG/MEDIUM: conn-stream: Set back CS to RDY state when the appctx is created
by Christopher Faulet
· Thu Apr 21 11:52:07 2022 +0200
bb5b62e
BUG/MINOR: backend: Don't allow to change backend applet
by Christopher Faulet
· Thu Apr 21 10:28:30 2022 +0200
1336ccf
CLEANUP: conn-stream: rename cs_register_applet() to cs_applet_create()
by Christopher Faulet
· Tue Apr 12 18:15:16 2022 +0200
6b0a0fb
CLEANUP: tree-wide: Remove any ref to stream-interfaces
by Christopher Faulet
· Mon Apr 04 11:29:28 2022 +0200
0eb32c0
MINOR: stream: Use conn-stream to report server error
by Christopher Faulet
· Mon Apr 04 11:06:31 2022 +0200
3704663
MINOR: applet: Use the CS to register and release applets instead of SI
by Christopher Faulet
· Fri Apr 01 11:36:58 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
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
0a4dcb6
MINOR: stream-int/backend: Move si_connect() in the backend scope
by Christopher Faulet
· Thu Mar 31 09:53:38 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
50264b4
MEDIUM: stream-int: Move SI err_type in the stream
by Christopher Faulet
· Wed Mar 30 19:39:30 2022 +0200
d139138
MINOR: stream-int: Remove SI_FL_SRC_ADDR to rely on stream flags instead
by Christopher Faulet
· Wed Mar 30 16:26:39 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
6cd56d5
MEDIUM: conn-stream: Use endpoint error instead of conn-stream error
by Christopher Faulet
· Wed Mar 30 10:47:32 2022 +0200
af642df
MINOR: stream-int/conn-stream: Report error to the CS instead of the SI
by Christopher Faulet
· Wed Mar 30 10:06:11 2022 +0200
ae024ce
MEDIUM: stream-int/stream: Use connect expiration instead of SI expiration
by Christopher Faulet
· Tue Mar 29 19:02:31 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
731c8e6
MINOR: stream: Simplify retries counter calculation
by Christopher Faulet
· Tue Mar 29 16:08:44 2022 +0200
909f318
MINOR: stream-int/stream: Move conn_retries counter in the stream
by Christopher Faulet
· Tue Mar 29 15:42: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
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
e9e4820
MINOR: conn-stream: Move some CS flags to the endpoint
by Christopher Faulet
· Tue Mar 22 18:13:29 2022 +0100
9388204
MAJOR: conn-stream: Invert conn-stream endpoint and its context
by Christopher Faulet
· Wed Jan 19 14:56:50 2022 +0100
c983b21
CLEANUP: backend: Don't export connect_server anymore
by Christopher Faulet
· Thu Jan 13 09:53:00 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
4a0114b
MINOR: backend: Always access the stream-int via the conn-stream
by Christopher Faulet
· Thu Dec 23 12:24:35 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
e00ad35
MEDIUM: stream: No longer release backend conn-stream on connection retry
by Christopher Faulet
· Thu Dec 16 14:44:31 2021 +0100
0256da1
MINOR: connection: Be prepared to handle conn-stream with no connection
by Christopher Faulet
· Wed Dec 15 09:50:17 2021 +0100
88bc800
BUILD: tree-wide: avoid warnings caused by redundant checks of obj_types
by Willy Tarreau
· Mon Dec 06 07:01:02 2021 +0000
34a3eb4
MINOR: backend: Get client dst address to set the server's one only if needful
by Christopher Faulet
· Fri Nov 05 12:02:56 2021 +0100
9c3251d
MEDIUM: server/backend: implement websocket protocol selection
by Amaury Denoyelle
· Mon Oct 18 14:39:57 2021 +0200
ac03ef2
MINOR: connection: add alternative mux_ops param for conn_install_mux_be
by Amaury Denoyelle
· Thu Oct 28 16:36:11 2021 +0200
14e7f29
MINOR: protocols: replace protocol_by_family() with protocol_lookup()
by Willy Tarreau
· Wed Oct 27 17:41:07 2021 +0200
16f16af
MINOR: stream: Use backend stream-interface dst address instead of target_addr
by Christopher Faulet
· Wed Oct 27 09:34:56 2021 +0200
a8e95fe
MEDIUM: backend: Rely on addresses at stream level to init server connection
by Christopher Faulet
· Mon Oct 25 08:13:25 2021 +0200
926712a
MINOR: backend: improve perf with tcp proxies skipping idle conns
by Amaury Denoyelle
· Wed Oct 20 15:04:03 2021 +0200
aee4fdb
BUG/MINOR: backend: fix improper insert in avail tree for always reuse
by Amaury Denoyelle
· Wed Oct 20 15:22:20 2021 +0200
1252b6f
MINOR: backend: add traces for idle connections reuse
by Amaury Denoyelle
· Wed Oct 20 15:22:01 2021 +0200
37a9e21
MINOR: sample/arg: Be able to resolve args found in defaults sections
by Christopher Faulet
· Tue Oct 12 18:48:05 2021 +0200
5d9ddc5
BUILD: tree-wide: add several missing activity.h
by Willy Tarreau
· Wed Oct 06 19:54:09 2021 +0200
63617db
BUILD: idleconns: include missing ebmbtree.h at several places
by Willy Tarreau
· Wed Oct 06 18:23:40 2021 +0200
b131049
BUILD: ssl: fix two remaining occurrences of #if USE_OPENSSL
by Willy Tarreau
· Mon Aug 30 09:35:18 2021 +0200
2524123
MEDIUM: proxy: remove long-broken 'option http_proxy'
by Willy Tarreau
· Sun Jul 18 19:18:56 2021 +0200
c453f95
MINOR: http: use http uri parser for path
by Amaury Denoyelle
· Tue Jul 06 11:40:12 2021 +0200
9ab7829
MEDIUM: queue: simplify again the process_srv_queue() API (v2)
by Willy Tarreau
· Tue Jun 22 18:47:51 2021 +0200
ccd85a3
Revert "MEDIUM: queue: simplify again the process_srv_queue() API"
by Willy Tarreau
· Thu Jun 24 07:22:18 2021 +0200
5ffb045
CLEANUP: backend: remove impossible case of round-robin + consistent hash
by Willy Tarreau
· Tue Jun 22 17:31:51 2021 +0200
c83e45e
MEDIUM: queue: simplify again the process_srv_queue() API
by Willy Tarreau
· Tue Jun 22 18:47:51 2021 +0200
a057045
MINOR: server: replace the pendconns-related stuff with a struct queue
by Willy Tarreau
· Fri Jun 18 09:30:30 2021 +0200
7f3c1df
MINOR: proxy: replace the pendconns-related stuff with a struct queue
by Willy Tarreau
· Fri Jun 18 09:22:21 2021 +0200
5941ef0
MINOR: lb/api: remove the locked argument from take_conn/drop_conn
by Willy Tarreau
· Fri Jun 18 18:29:25 2021 +0200
0274286
BUG/MAJOR: server: fix deadlock when changing maxconn via agent-check
by Amaury Denoyelle
· Fri Jun 18 11:11:36 2021 +0200
655dec8
BUG/MINOR: backend: do not set sni on connection reuse
by Amaury Denoyelle
· Tue Jun 01 17:04:10 2021 +0200
2b1d917
BUG/MINOR: backend: restore the SF_SRV_REUSED flag original purpose
by Amaury Denoyelle
· Thu Jun 17 15:14:49 2021 +0200
213bb99
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Sat Jun 12 15:55:27 2021 +0500
f9a7c44
MINOR: backend: only skip LB when there are actual connections
by Willy Tarreau
· Wed Jun 09 15:56:16 2021 +0200
e9106d6
MINOR: backend: Don't release SI endpoint anymore in connect_server()
by Christopher Faulet
· Tue Jun 01 15:54:49 2021 +0200
f822dec
BUG/MAJOR: stream-int: Release SI endpoint on server side ASAP on retry
by Christopher Faulet
· Tue Jun 01 14:06:05 2021 +0200
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
1db4273
CLEANUP: atomic: add an explicit _FETCH variant for add/sub/and/or
by Willy Tarreau
· Tue Apr 06 11:44:07 2021 +0200
1bb6afa
MINOR: stream: Use stream type instead of proxy mode when appropriate
by Christopher Faulet
· Mon Mar 08 17:57:53 2021 +0100
9b9f847
MEDIUM: backend: use a trylock to grab a connection on high FD counts as well
by Willy Tarreau
· Fri Mar 26 20:52:10 2021 +0100
65bf600
BUG/MEDIUM: release lock on idle conn killing on reached pool high count
by Amaury Denoyelle
· Tue Mar 23 10:44:43 2021 +0100
1b3c931
MEDIUM: connections: Introduce a new XPRT method, start().
by Olivier Houchard
· Fri Mar 05 23:37:48 2021 +0100
249f056
BUG/MINOR: backend: fix condition for reuse on mode HTTP
by Amaury Denoyelle
· Fri Mar 05 15:34:56 2021 +0100
d7faa3d
MINOR: backend: add a BUG_ON if conn mux NULL in connect_server
by Amaury Denoyelle
· Fri Mar 05 15:27:41 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
1adaddb
OPTIM: lb-random: use a cheaper PRNG to pick a server
by Ubuntu
· Mon Mar 01 07:57:54 2021 +0000
b1adf03
MEDIUM: backend: use a trylock when trying to grab an idle connection
by Ubuntu
· Mon Mar 01 06:22:17 2021 +0000
8ede3db
MINOR: backend: handle reuse for conns with no server as target
by Amaury Denoyelle
· Tue Mar 02 14:38:53 2021 +0100
68967e5
BUG/MINOR: backend: free allocated bind_addr if reuse conn
by Amaury Denoyelle
· Tue Mar 02 12:01:06 2021 +0100
6036578
CLEANUP: backend: fix a wrong comment
by Amaury Denoyelle
· Wed Mar 03 11:24:33 2021 +0100
7b5777d
CLEANUP: Use isttest(const struct ist) whenever possible
by Tim Duesterhus
· Tue Mar 02 18:57:28 2021 +0100
ae30561
BUG/MINOR: connection: Use the client's dst family for adressless servers
by Christopher Faulet
· Mon Mar 01 11:33:59 2021 +0100
8990b01
MINOR: connection: allocate dynamically hash node for backend conns
by Amaury Denoyelle
· Fri Feb 19 15:29:16 2021 +0100
59b0fec
MINOR: lb/api: let callers of take_conn/drop_conn tell if they have the lock
by Willy Tarreau
· Wed Feb 17 16:01:37 2021 +0100
36441f4
MINOR: connection: remove pointers for prehash in conn_hash_params
by Amaury Denoyelle
· Wed Feb 17 16:25:31 2021 +0100
4c09800
BUG/MINOR: backend: do not call smp_make_safe for sni conn hash
by Amaury Denoyelle
· Wed Feb 17 15:59:02 2021 +0100
edadf19
BUG/MINOR: backend: fix compilation without ssl
by Amaury Denoyelle
· Fri Feb 12 13:49:42 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
Next »