Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
edf94cbc52553abbb43e64686bfba024d4d62cff
/
src
/
backend.c
« Previous
9ea5d36
MEDIUM: servers: Reorganize the way idle connections are cleaned.
by Olivier Houchard
· 6 years ago
7f1bc31
MEDIUM: servers: Used a locked list for idle_orphan_conns.
by Olivier Houchard
· 6 years ago
f131481
BUG/MEDIUM: servers: Add a per-thread counter of idle connections.
by Olivier Houchard
· 6 years ago
e737103
BUG/MEDIUM: servers: Use atomic operations when handling curr_idle_conns.
by Olivier Houchard
· 6 years ago
f7679ad
BUG/MAJOR: htx/backend: Make all tests on HTTP messages compatible with HTX
by Christopher Faulet
· 6 years ago
1da41ec
BUG/MINOR: backend: check srv_conn before dereferencing it
by Willy Tarreau
· 6 years ago
3c4e19f
BUG/MEDIUM: backend: always release the previous connection into its own target srv_list
by Willy Tarreau
· 6 years ago
7493114
BUG/MEDIUM: servers: Close the connection if we failed to install the mux.
by Olivier Houchard
· 6 years ago
26da323
BUG/MEDIUM: servers: Don't add an incomplete conn to the server idle list.
by Olivier Houchard
· 6 years ago
4dc8553
BUG/MEDIUM: servers: Only destroy a conn_stream we just allocated.
by Olivier Houchard
· 6 years ago
d822013
BUG/MEDIUM: backend: always call si_detach_endpoint() on async connection failure
by Willy Tarreau
· 6 years ago
9ef5155
BUG/MEDIUM: servers: Attempt to reuse an unfinished connection on retry.
by Olivier Houchard
· 6 years ago
2c7dedd
BUG/MEDIUM: backend: never try to attach to a mux having no more stream available
by Willy Tarreau
· 6 years ago
5ce6337
BUG/MEDIUM: backend: also remove from idle list muxes that have no more room
by Willy Tarreau
· 6 years ago
09a0f03
BUG/MEDIUM: servers: Make assign_tproxy_address work when ALPN is set.
by Olivier Houchard
· 6 years ago
21c741a
MINOR: backend: make the random algorithm support a number of draws
by Willy Tarreau
· 6 years ago
a9a7249
MINOR: backend: remap the balance uri settings to lbprm.arg_opt{1,2,3}
by Willy Tarreau
· 6 years ago
9fed858
MINOR: backend: make the header hash use arg_opt1 for use_domain_only
by Willy Tarreau
· 6 years ago
484ff07
MINOR: backend: make headers and RDP cookie also use arg_str/len
by Willy Tarreau
· 6 years ago
4c03d1c
MINOR: backend: move url_param_name/len to lbprm.arg_str/len
by Willy Tarreau
· 6 years ago
6c30be5
BUG/MINOR: backend: BE_LB_LKUP_CHTREE is a value, not a bit
by Willy Tarreau
· 6 years ago
602a499
BUG/MINOR: backend: balance uri specific options were lost across defaults
by Willy Tarreau
· 6 years ago
5cd6217
BUG/MEDIUM: server: Defer the mux init until after xprt has been initialized.
by Olivier Houchard
· 6 years ago
59884a6
MINOR: lb: allow redispatch when using consistent hash
by Willy Tarreau
· 6 years ago
a2dbeb2
MEDIUM: sessions: Keep track of which connections are idle.
by Olivier Houchard
· 6 years ago
c685d70
MEDIUM: servers: Be smarter when switching connections.
by Olivier Houchard
· 6 years ago
4f41751
BUG/MEDIUM: servers: Flag the stream_interface on handshake error.
by Olivier Houchard
· 6 years ago
351411f
BUG/MAJOR: sessions: Use an unlimited number of servers for the conn list.
by Olivier Houchard
· 6 years ago
5f7de56
BUG/MAJOR: servers: Correctly use LIST_ELEM().
by Olivier Houchard
· 6 years ago
c3fa638
BUG/MAJOR: servers: Use the list api correctly to avoid crashes.
by Olivier Houchard
· 6 years ago
134a204
BUG/MEDIUM: servers: Fail if we fail to allocate a conn_stream.
by Olivier Houchard
· 6 years ago
bb3dac3
BUG/MEDIUM: servers: Don't try to reuse connection if we switched server.
by Olivier Houchard
· 6 years ago
94031d3
MINOR: connection: remove an unwelcome dependency on struct stream
by Willy Tarreau
· 6 years ago
3d2ee55
CLEANUP: connection: rename conn->mux_ctx to conn->ctx
by Willy Tarreau
· 6 years ago
7aec9ed
MEDIUM: servers: Be more agressive when adding H2 connection to idle lists.
by Olivier Houchard
· 6 years ago
a4d4fdf
MEDIUM: sessions: Don't keep an infinite number of idling connections.
by Olivier Houchard
· 6 years ago
f502aca
MEDIUM: mux: provide the session to the init() and attach() method.
by Olivier Houchard
· 6 years ago
006e310
MEDIUM: servers: Add a command to limit the number of idling connections.
by Olivier Houchard
· 6 years ago
cc79ed2
BUG/MAJOR: backend: only update server's counters when the server exists
by Willy Tarreau
· 6 years ago
f157384
MINOR: backend: count the number of connect and reuse per server and per backend
by Willy Tarreau
· 6 years ago
9a86fcb
MEDIUM: mux: Add an optional "reset" method.
by Olivier Houchard
· 6 years ago
ab8b075
BUG/MEDIUM: connections: Remove CS_FL_EOS | CS_FL_REOS on retry.
by Olivier Houchard
· 6 years ago
ac1ce6f
BUG/MEDIUM: connections: Remove error flags when retrying.
by Olivier Houchard
· 6 years ago
eb2bbba
BUG/MEDIUM: connection: Don't use the provided conn_stream if it was tried.
by Olivier Houchard
· 6 years ago
0fa989f
BUG/MEDIUM: connections: Reuse an already attached conn_stream.
by Olivier Houchard
· 6 years ago
0c18a6f
MEDIUM: servers: Add a way to keep idle connections alive.
by Olivier Houchard
· 6 years ago
2442f68
BUG/MEDIUM: Special-case http_proxy when dealing with outgoing connections.
by Olivier Houchard
· 6 years ago
ba4fff5
MEDIUM: server: Be smarter about deciding to reuse the last server.
by Olivier Houchard
· 6 years ago
00cf70f
MAJOR: sessions: Store multiple outgoing connections in the session.
by Olivier Houchard
· 6 years ago
bf024f0
MEDIUM: connections: Put H2 connections in the idle list if http-reuse always.
by Olivier Houchard
· 6 years ago
a30a40b
BUG/MEDIUM: connections: Remove the connection from the idle list before destroy.
by Olivier Houchard
· 6 years ago
a49d41a
BUG/MEDIUM: connections: Don't assume we have a mux in connect_server().
by Olivier Houchard
· 6 years ago
d76bd2d
BUG/MEDIUM: connections: Don't forget to detach the connection from the SI.
by Olivier Houchard
· 6 years ago
70d9b2f
BUG/MEDIUM: connections: Wake the stream once the mux is chosen.
by Olivier Houchard
· 6 years ago
0108d90
MEDIUM: init: convert all trivial registration calls to initcalls
by Willy Tarreau
· 6 years ago
da95fd9
BUILD/MINOR: ssl: fix build with non-alpn/non-npn libssl
by Lukas Tribus
· 6 years ago
ee23b2a
MEDIUM: servers: Store the connection in the SI until we have a mux.
by Olivier Houchard
· 6 years ago
1295016
BUG/MEDIUM: servers: Don't check if we have a conn_stream too soon.
by Olivier Houchard
· 6 years ago
c6e0bb4
MINOR: server: Only defined conn_complete_server if USE_OPENSSL is set.
by Olivier Houchard
· 6 years ago
201b9f4
MAJOR: connections: Defer mux creation for outgoing connection if alpn is set.
by Olivier Houchard
· 6 years ago
7c6f8b1
MAJOR: connections: Detach connections from streams.
by Olivier Houchard
· 6 years ago
47e9a1a
MEDIUM: connections: Wait until the connection is established to try to recv.
by Olivier Houchard
· 6 years ago
cde1bc6
BUG/MINOR: backend: assign the wait list after the error check
by Willy Tarreau
· 6 years ago
80512b1
BUG/MINOR: only auto-prefer last server if lb-alg is non-deterministic
by Lukas Tribus
· 6 years ago
85b73e9
BUG/MEDIUM: stream: Make sure polling is right on retry.
by Olivier Houchard
· 6 years ago
33dd4ef
BUG/MINOR: backend: check that the mux installed properly
by Willy Tarreau
· 6 years ago
1e582e5
BUILD: backend: fix 3 build warnings related to null-deref at -Wextra
by Willy Tarreau
· 6 years ago
155e93e
MINOR: Add srv_conn_free sample fetch
by Patrick Hemmer
· 6 years ago
4cdf3ab
MINOR: add be_conn_free sample fetch
by Patrick Hemmer
· 6 years ago
7ce0c89
MEDIUM: mux: Use the mux protocol specified on bind/server lines
by Christopher Faulet
· 7 years ago
b75bb21
MEDIUM: backend: don't rely on mux_pt_ops in connect_server()
by Christopher Faulet
· 6 years ago
6cc7afa
MINOR: backend: Try to find the best mux for outgoing connections
by Christopher Faulet
· 7 years ago
2bf88c0
CLEANUP: backend: Move mux install to call it at only one place
by Christopher Faulet
· 7 years ago
4507351
BUG/MINOR: build: Fix compilation with debug mode enabled
by Christopher Faulet
· 6 years ago
843b7cb
MEDIUM: chunks: make the chunk struct's fields match the buffer struct
by Willy Tarreau
· 6 years ago
c9fa048
MAJOR: buffer: finalize buffer detachment
by Willy Tarreau
· 6 years ago
6a445eb
MINOR: backend: use new buffer API
by Willy Tarreau
· 6 years ago
188e230
MINOR: buffer: convert most b_ptr() calls to c_ptr()
by Willy Tarreau
· 6 years ago
bcbd393
MINOR: channel/buffer: replace b_{adv,rew} with c_{adv,rew}
by Willy Tarreau
· 6 years ago
760e81d
MINOR: backend: implement random-based load balancing
by Willy Tarreau
· 7 years ago
767a84b
CLEANUP: log: Rename Alert/Warning in ha_alert/ha_warning
by Christopher Faulet
· 7 years ago
56803b1
CLEANUP: debug: Use DPRINTF instead of fprintf into #ifdef DEBUG_FULL/#endif
by Christopher Faulet
· 7 years ago
46c9d3e
BUILD: ssl: fix build of backend without ssl
by Willy Tarreau
· 7 years ago
522eea7
MINOR: ssl: Handle sending early data to server.
by Olivier Houchard
· 7 years ago
9aaf778
MAJOR: connection : Split struct connection into struct connection and struct conn_stream.
by Olivier Houchard
· 7 years ago
53a4766
MEDIUM: connection: start to introduce a mux layer between xprt and data
by Willy Tarreau
· 7 years ago
5b51755
MEDIUM: threads/lb: Make LB algorithms (lb_*.c) thread-safe
by Christopher Faulet
· 7 years ago
29f77e8
MEDIUM: threads/server: Add a lock per server and atomically update server vars
by Christopher Faulet
· 7 years ago
40a007c
MEDIUM: threads/server: Make connection list (priv/idle/safe) thread-safe
by Christopher Faulet
· 7 years ago
ff8abcd
MEDIUM: threads/proxy: Add a lock per proxy and atomically update proxy vars
by Christopher Faulet
· 7 years ago
f098fd0
MINOR: backend: use conn_full_close() instead of conn_force_close()
by Willy Tarreau
· 7 years ago
ff2b7af
MINOR: server: add the srv_queue() sample fetch method
by Willy Tarreau
· 7 years ago
52a91d3
MEDIUM: check: server states and weight propagation re-work
by Emeric Brun
· 7 years ago
8fe4891
MINOR: backends: Make get_server_* functions explicitly static
by Christopher Faulet
· 7 years ago
f0614e8
MINOR: backends: Change get_server_sh/get_server_uh into private function
by Christopher Faulet
· 7 years ago
2754fbc
CLEANUP: Replace repeated code to count usable servers with be_usable_srv()
by Nenad Merdanovic
· 8 years ago
b7e7c47
MINOR: Add nbsrv sample converter
by Nenad Merdanovic
· 8 years ago
04276f3
MEDIUM: server: split the address and the port into two different fields
by Willy Tarreau
· 8 years ago
1ca1b6f
BUG/MINOR: option prefer-last-server must be ignored in some case
by Olivier Doucet
· 8 years ago
57b8771
BUG/MINOR: backend: nbsrv() should return 0 if backend is disabled
by Marcin Deranek
· 8 years ago
Next »