Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
43c2ce4d81d8184007a8eb49240b81687c213dec
/
src
/
backend.c
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
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
Next »