Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
79416cbd7abe63265d92f4c4dc0bc51a7cb2cf11
/
src
/
backend.c
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
f7bdf00
MINOR: backend: rewrite alloc of connection src address
by Amaury Denoyelle
· Thu Jan 21 09:40: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
68cf395
MINOR: backend: rewrite alloc of stream target address
by Amaury Denoyelle
· Mon Jan 11 15:24:31 2021 +0100
9b626e3
MINOR: connection: use sni as parameter for srv conn hash
by Amaury Denoyelle
· Wed Jan 06 17:03:27 2021 +0100
293dcc4
MINOR: backend: compare conn hash for session conn reuse
by Amaury Denoyelle
· Mon Jan 25 10:29:35 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
aa890ae
MINOR: backend: search conn in idle tree after safe on always reuse
by Amaury Denoyelle
· Mon Jan 25 14:43:17 2021 +0100
1399d69
MINOR: backend: search conn in idle/safe trees after available
by Amaury Denoyelle
· Fri Jan 22 19:37:44 2021 +0100
f232cb3
MEDIUM: connection: replace idle conn lists by eb trees
by Amaury Denoyelle
· Wed Jan 06 16:14:12 2021 +0100
5c7086f
MEDIUM: connection: protect idle conn lists with locks
by Amaury Denoyelle
· Mon Jan 11 09:21:52 2021 +0100
a3bf62e
BUG/MINOR: backend: hold correctly lock when killing idle conn
by Amaury Denoyelle
· Thu Jan 28 10:16:29 2021 +0100
a81bb71
BUG/MINOR: backend: check available list allocation for reuse
by Amaury Denoyelle
· Thu Jan 28 17:33:26 2021 +0100
08d87b3
BUG/MEDIUM: backend: never reuse a connection for tcp mode
by Amaury Denoyelle
· Tue Jan 26 17:35:46 2021 +0100
7f68d81
REORG: backend: simplify conn_backend_get
by Amaury Denoyelle
· Tue Jan 26 14:35:26 2021 +0100
37e25bc
CLEANUP: backend: remove an obsolete comment on conn_backend_get
by Amaury Denoyelle
· Tue Jan 26 14:35:25 2021 +0100
8f0cc5c
CLEANUP: Fix spelling errors in comments
by Thayne McCombs
· Thu Jan 07 21:35:52 2021 -0700
e5ff141
CLEANUP: Compare the return value of `XXXcmp()` functions with zero
by Tim Duesterhus
· Sat Jan 02 22:31:53 2021 +0100
d91d779
MINOR: backend: add timeout sample fetches
by Amaury Denoyelle
· Thu Dec 10 13:43:56 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
8ae8c48
MEDIUM: fwlc: re-enable per-server queuing up to maxqueue
by Willy Tarreau
· Thu Oct 22 17:19:07 2020 +0200
26a52af
BUG/MEDIUM: lb: Always lock the server when calling server_{take,drop}_conn
by Christopher Faulet
· Fri Oct 16 16:27:17 2020 +0200
7239c24
MEDIUM: backend: reuse connection if using a static sni
by Amaury Denoyelle
· Thu Oct 15 16:41:09 2020 +0200
9b7587a
MINOR: connection: make sockaddr_alloc() take the address to be copied
by Willy Tarreau
· Thu Oct 15 07:32:10 2020 +0200
0d21dea
MEDIUM: backend: add reused conn to sess if mux marked as HOL blocking
by Amaury Denoyelle
· Wed Oct 14 18:17:09 2020 +0200
00464ab
MEDIUM: backend: add new conn to session if mux marked as HOL blocking
by Amaury Denoyelle
· Wed Oct 14 18:17:08 2020 +0200
9c13b62
BUG/MEDIUM: connection: fix srv idle count on conn takeover
by Amaury Denoyelle
· Wed Oct 14 18:17:04 2020 +0200
5f1ded5
BUG/MINOR: connection: fix loop iter on connection takeover
by Amaury Denoyelle
· Wed Oct 14 18:17:03 2020 +0200
82cd5c1
OPTIM: backend: skip LB when we know the backend is full
by Willy Tarreau
· Tue Sep 29 17:07:21 2020 +0200
b88ae18
OPTIM: backend/random: never queue on the server, always on the backend
by Willy Tarreau
· Tue Sep 29 16:58:30 2020 +0200
57a3741
MINOR: backend: add a new "path-only" option to "balance uri"
by Willy Tarreau
· Wed Sep 23 08:56:29 2020 +0200
3d1119d
MINOR: backend: make the "whole" option of balance uri take only one bit
by Willy Tarreau
· Wed Sep 23 08:05:47 2020 +0200
6b79f38
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Thu Jul 23 00:32:55 2020 +0500
a3b1756
BUG/MEDIUM: backend: always attach the transport before installing the mux
by Willy Tarreau
· Fri Jul 31 08:39:31 2020 +0200
b4de420
MINOR: connection: Preinstall the mux for non-ssl connect
by Christopher Faulet
· Thu Jul 30 09:10:36 2020 +0200
3f5bcd0
BUG/MEDIUM: connection: Be sure to always install a mux for sync connect
by Christopher Faulet
· Wed Jul 29 22:42:27 2020 +0200
dc2ac81
BUG/MINOR: backend: fix potential null deref on srv_conn
by Willy Tarreau
· Wed Jul 15 17:46:32 2020 +0200
1bea865
MINOR: backend: Add sample fetches to get the server's weight
by Christopher Faulet
· Fri Jul 10 16:03:45 2020 +0200
3d52f0f
MINOR: server: Factorize code to deal with reuse of server idle connections
by Christopher Faulet
· Thu Jul 02 15:45:56 2020 +0200
236c93b
MINOR: connection: Set the conncetion target during its initialisation
by Christopher Faulet
· Thu Jul 02 09:19:54 2020 +0200
fcc3d8a
MINOR: connection: Use a dedicated function to look for a session's connection
by Christopher Faulet
· Wed Jul 01 16:36:51 2020 +0200
08016ab
MEDIUM: connection: Add private connections synchronously in session server list
by Christopher Faulet
· Wed Jul 01 16:10:06 2020 +0200
21ddc74
MINOR: connection: Add a wrapper to mark a connection as private
by Christopher Faulet
· Wed Jul 01 15:26:14 2020 +0200
c64badd
MINOR: connection: Set new connection as private on reuse never
by Christopher Faulet
· Wed Jul 01 15:12:43 2020 +0200
27bd6ff
MINOR: connection: Set the SNI on server connections before installing the mux
by Christopher Faulet
· Wed Jul 01 11:00:18 2020 +0200
a9d7b76
MINOR: connection: use MT_LIST_ADDQ() to add connections to idle lists
by Willy Tarreau
· Fri Jul 10 08:28:20 2020 +0200
de4db17
MINOR: lists: rename some MT_LIST operations to clarify them
by Willy Tarreau
· Fri Jul 10 08:10:29 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
e91a526
BUG/MINOR: backend: Remove CO_FL_SESS_IDLE if a client remains on the last server
by Christopher Faulet
· Wed Jul 01 18:56:30 2020 +0200
1662cdb
BUG/MEDIUM: connections: Set the tid for the old tasklet on takeover.
by Olivier Houchard
· Fri Jul 03 14:04:37 2020 +0200
76cc699
MINOR: config: add a new tune.idle-pool.shared global setting.
by Willy Tarreau
· Wed Jul 01 18:49:24 2020 +0200
f8f4c2e
CLEANUP: connections: rename the toremove_lock to takeover_lock
by Olivier Houchard
· Mon Jun 29 20:15:59 2020 +0200
364f25a
MINOR: backend: don't always takeover from the same threads
by Willy Tarreau
· Wed Jul 01 15:55:30 2020 +0200
0d58711
BUG/MEDIUM: backend: always search in the safe list after failing on the idle one
by Willy Tarreau
· Wed Jul 01 15:04:38 2020 +0200
2f3f4d3
MEDIUM: server: add a new pool-low-conn server setting
by Willy Tarreau
· Wed Jul 01 07:43:51 2020 +0200
151c253
MINOR: server: skip servers with no idle conns earlier
by Willy Tarreau
· Wed Jul 01 08:24:44 2020 +0200
bdb86bd
MEDIUM: server: improve estimate of the need for idle connections
by Willy Tarreau
· Mon Jun 29 15:56:35 2020 +0200
c35bcfc
BUG/MINOR: server: start cleaning idle connections from various points
by Willy Tarreau
· Mon Jun 29 14:43:16 2020 +0200
b159132
MINOR: activity: add per-thread statistics on FD takeover
by Willy Tarreau
· Mon Jun 29 14:17:59 2020 +0200
Next »