Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
54f46e53dddf465713218fdbe342a4cb7d806ae1
/
src
/
backend.c
7493114
BUG/MEDIUM: servers: Close the connection if we failed to install the mux.
by Olivier Houchard
· Tue Jan 29 19:11:16 2019 +0100
26da323
BUG/MEDIUM: servers: Don't add an incomplete conn to the server idle list.
by Olivier Houchard
· Tue Jan 29 16:05:02 2019 +0100
4dc8553
BUG/MEDIUM: servers: Only destroy a conn_stream we just allocated.
by Olivier Houchard
· Tue Jan 29 15:50:38 2019 +0100
d822013
BUG/MEDIUM: backend: always call si_detach_endpoint() on async connection failure
by Willy Tarreau
· Mon Jan 28 16:33:35 2019 +0100
9ef5155
BUG/MEDIUM: servers: Attempt to reuse an unfinished connection on retry.
by Olivier Houchard
· Mon Jan 28 15:33:15 2019 +0100
2c7dedd
BUG/MEDIUM: backend: never try to attach to a mux having no more stream available
by Willy Tarreau
· Thu Jan 24 18:22:19 2019 +0100
5ce6337
BUG/MEDIUM: backend: also remove from idle list muxes that have no more room
by Willy Tarreau
· Wed Jan 23 17:33:06 2019 +0100
09a0f03
BUG/MEDIUM: servers: Make assign_tproxy_address work when ALPN is set.
by Olivier Houchard
· Thu Jan 17 15:59:13 2019 +0100
21c741a
MINOR: backend: make the random algorithm support a number of draws
by Willy Tarreau
· Mon Jan 14 18:14:27 2019 +0100
a9a7249
MINOR: backend: remap the balance uri settings to lbprm.arg_opt{1,2,3}
by Willy Tarreau
· Mon Jan 14 16:14:15 2019 +0100
9fed858
MINOR: backend: make the header hash use arg_opt1 for use_domain_only
by Willy Tarreau
· Mon Jan 14 16:04:54 2019 +0100
484ff07
MINOR: backend: make headers and RDP cookie also use arg_str/len
by Willy Tarreau
· Mon Jan 14 15:28:53 2019 +0100
4c03d1c
MINOR: backend: move url_param_name/len to lbprm.arg_str/len
by Willy Tarreau
· Mon Jan 14 15:23:54 2019 +0100
6c30be5
BUG/MINOR: backend: BE_LB_LKUP_CHTREE is a value, not a bit
by Willy Tarreau
· Mon Jan 14 17:07:39 2019 +0100
602a499
BUG/MINOR: backend: balance uri specific options were lost across defaults
by Willy Tarreau
· Mon Jan 14 16:29:52 2019 +0100
5cd6217
BUG/MEDIUM: server: Defer the mux init until after xprt has been initialized.
by Olivier Houchard
· Fri Jan 04 15:52:26 2019 +0100
59884a6
MINOR: lb: allow redispatch when using consistent hash
by Willy Tarreau
· Wed Jan 02 14:48:31 2019 +0100
a2dbeb2
MEDIUM: sessions: Keep track of which connections are idle.
by Olivier Houchard
· Fri Dec 28 18:50:57 2018 +0100
c685d70
MEDIUM: servers: Be smarter when switching connections.
by Olivier Houchard
· Fri Dec 28 16:20:25 2018 +0100
4f41751
BUG/MEDIUM: servers: Flag the stream_interface on handshake error.
by Olivier Houchard
· Thu Dec 27 18:59:46 2018 +0100
351411f
BUG/MAJOR: sessions: Use an unlimited number of servers for the conn list.
by Olivier Houchard
· Thu Dec 27 17:20:54 2018 +0100
5f7de56
BUG/MAJOR: servers: Correctly use LIST_ELEM().
by Olivier Houchard
· Thu Dec 27 15:35:22 2018 +0100
c3fa638
BUG/MAJOR: servers: Use the list api correctly to avoid crashes.
by Olivier Houchard
· Thu Dec 27 15:29:53 2018 +0100
134a204
BUG/MEDIUM: servers: Fail if we fail to allocate a conn_stream.
by Olivier Houchard
· Fri Dec 28 14:45:47 2018 +0100
bb3dac3
BUG/MEDIUM: servers: Don't try to reuse connection if we switched server.
by Olivier Houchard
· Mon Dec 24 13:32:13 2018 +0100
94031d3
MINOR: connection: remove an unwelcome dependency on struct stream
by Willy Tarreau
· Wed Dec 19 14:36:29 2018 +0100
3d2ee55
CLEANUP: connection: rename conn->mux_ctx to conn->ctx
by Willy Tarreau
· Wed Dec 19 14:12:10 2018 +0100
7aec9ed
MEDIUM: servers: Be more agressive when adding H2 connection to idle lists.
by Olivier Houchard
· Fri Dec 14 19:31:51 2018 +0100
a4d4fdf
MEDIUM: sessions: Don't keep an infinite number of idling connections.
by Olivier Houchard
· Fri Dec 14 19:27:06 2018 +0100
f502aca
MEDIUM: mux: provide the session to the init() and attach() method.
by Olivier Houchard
· Fri Dec 14 19:42:40 2018 +0100
006e310
MEDIUM: servers: Add a command to limit the number of idling connections.
by Olivier Houchard
· Mon Dec 10 18:30:32 2018 +0100
cc79ed2
BUG/MAJOR: backend: only update server's counters when the server exists
by Willy Tarreau
· Sat Dec 15 15:11:36 2018 +0100
f157384
MINOR: backend: count the number of connect and reuse per server and per backend
by Willy Tarreau
· Fri Dec 14 11:35:36 2018 +0100
9a86fcb
MEDIUM: mux: Add an optional "reset" method.
by Olivier Houchard
· Tue Dec 11 16:47:14 2018 +0100
ab8b075
BUG/MEDIUM: connections: Remove CS_FL_EOS | CS_FL_REOS on retry.
by Olivier Houchard
· Thu Dec 13 15:37:25 2018 +0100
ac1ce6f
BUG/MEDIUM: connections: Remove error flags when retrying.
by Olivier Houchard
· Sat Dec 08 19:08:48 2018 +0100
eb2bbba
BUG/MEDIUM: connection: Don't use the provided conn_stream if it was tried.
by Olivier Houchard
· Sat Dec 08 16:38:34 2018 +0100
0fa989f
BUG/MEDIUM: connections: Reuse an already attached conn_stream.
by Olivier Houchard
· Wed Dec 05 17:08:55 2018 +0100
0c18a6f
MEDIUM: servers: Add a way to keep idle connections alive.
by Olivier Houchard
· Sun Dec 02 14:11:41 2018 +0100
2442f68
BUG/MEDIUM: Special-case http_proxy when dealing with outgoing connections.
by Olivier Houchard
· Sat Dec 01 17:03:38 2018 +0100
ba4fff5
MEDIUM: server: Be smarter about deciding to reuse the last server.
by Olivier Houchard
· Sat Dec 01 14:40:40 2018 +0100
00cf70f
MAJOR: sessions: Store multiple outgoing connections in the session.
by Olivier Houchard
· Fri Nov 30 17:24:55 2018 +0100
bf024f0
MEDIUM: connections: Put H2 connections in the idle list if http-reuse always.
by Olivier Houchard
· Thu Nov 29 17:08:53 2018 +0100
a30a40b
BUG/MEDIUM: connections: Remove the connection from the idle list before destroy.
by Olivier Houchard
· Thu Nov 29 18:04:12 2018 +0100
a49d41a
BUG/MEDIUM: connections: Don't assume we have a mux in connect_server().
by Olivier Houchard
· Thu Nov 29 18:03:21 2018 +0100
d76bd2d
BUG/MEDIUM: connections: Don't forget to detach the connection from the SI.
by Olivier Houchard
· Thu Nov 29 16:58:49 2018 +0100
70d9b2f
BUG/MEDIUM: connections: Wake the stream once the mux is chosen.
by Olivier Houchard
· Thu Nov 29 16:57:32 2018 +0100
0108d90
MEDIUM: init: convert all trivial registration calls to initcalls
by Willy Tarreau
· Sun Nov 25 19:14:37 2018 +0100
da95fd9
BUILD/MINOR: ssl: fix build with non-alpn/non-npn libssl
by Lukas Tribus
· Sun Nov 25 13:21:27 2018 +0100
ee23b2a
MEDIUM: servers: Store the connection in the SI until we have a mux.
by Olivier Houchard
· Fri Nov 23 17:07:04 2018 +0100
1295016
BUG/MEDIUM: servers: Don't check if we have a conn_stream too soon.
by Olivier Houchard
· Fri Nov 23 14:32:08 2018 +0100
c6e0bb4
MINOR: server: Only defined conn_complete_server if USE_OPENSSL is set.
by Olivier Houchard
· Fri Nov 23 14:24:10 2018 +0100
201b9f4
MAJOR: connections: Defer mux creation for outgoing connection if alpn is set.
by Olivier Houchard
· Wed Nov 21 00:16:29 2018 +0100
7c6f8b1
MAJOR: connections: Detach connections from streams.
by Olivier Houchard
· Tue Nov 13 16:48:36 2018 +0100
47e9a1a
MEDIUM: connections: Wait until the connection is established to try to recv.
by Olivier Houchard
· Wed Nov 07 17:55:19 2018 +0100
cde1bc6
BUG/MINOR: backend: assign the wait list after the error check
by Willy Tarreau
· Sun Oct 28 20:36:00 2018 +0100
80512b1
BUG/MINOR: only auto-prefer last server if lb-alg is non-deterministic
by Lukas Tribus
· Sat Oct 27 20:07:40 2018 +0200
85b73e9
BUG/MEDIUM: stream: Make sure polling is right on retry.
by Olivier Houchard
· Sun Oct 21 03:18:11 2018 +0200
33dd4ef
BUG/MINOR: backend: check that the mux installed properly
by Willy Tarreau
· Wed Oct 03 10:20:19 2018 +0200
1e582e5
BUILD: backend: fix 3 build warnings related to null-deref at -Wextra
by Willy Tarreau
· Thu Sep 20 11:29:28 2018 +0200
155e93e
MINOR: Add srv_conn_free sample fetch
by Patrick Hemmer
· Thu Jun 14 18:01:35 2018 -0400
4cdf3ab
MINOR: add be_conn_free sample fetch
by Patrick Hemmer
· Thu Jun 14 17:10:27 2018 -0400
7ce0c89
MEDIUM: mux: Use the mux protocol specified on bind/server lines
by Christopher Faulet
· Tue Apr 10 15:01:45 2018 +0200
b75bb21
MEDIUM: backend: don't rely on mux_pt_ops in connect_server()
by Christopher Faulet
· Wed May 23 16:53:38 2018 +0200
6cc7afa
MINOR: backend: Try to find the best mux for outgoing connections
by Christopher Faulet
· Wed Feb 28 10:40:42 2018 +0100
2bf88c0
CLEANUP: backend: Move mux install to call it at only one place
by Christopher Faulet
· Wed Feb 28 10:33:34 2018 +0100
4507351
BUG/MINOR: build: Fix compilation with debug mode enabled
by Christopher Faulet
· Fri Jul 20 10:16:29 2018 +0200
843b7cb
MEDIUM: chunks: make the chunk struct's fields match the buffer struct
by Willy Tarreau
· Fri Jul 13 10:54:26 2018 +0200
c9fa048
MAJOR: buffer: finalize buffer detachment
by Willy Tarreau
· Tue Jul 10 17:43:27 2018 +0200
6a445eb
MINOR: backend: use new buffer API
by Willy Tarreau
· Tue Jun 19 07:04:45 2018 +0200
188e230
MINOR: buffer: convert most b_ptr() calls to c_ptr()
by Willy Tarreau
· Fri Jun 15 11:11:53 2018 +0200
bcbd393
MINOR: channel/buffer: replace b_{adv,rew} with c_{adv,rew}
by Willy Tarreau
· Wed Jun 06 07:13:22 2018 +0200
760e81d
MINOR: backend: implement random-based load balancing
by Willy Tarreau
· Thu May 03 07:20:40 2018 +0200
767a84b
CLEANUP: log: Rename Alert/Warning in ha_alert/ha_warning
by Christopher Faulet
· Fri Nov 24 16:50:31 2017 +0100
56803b1
CLEANUP: debug: Use DPRINTF instead of fprintf into #ifdef DEBUG_FULL/#endif
by Christopher Faulet
· Fri Nov 24 16:06:18 2017 +0100
46c9d3e
BUILD: ssl: fix build of backend without ssl
by Willy Tarreau
· Wed Nov 08 14:25:59 2017 +0100
522eea7
MINOR: ssl: Handle sending early data to server.
by Olivier Houchard
· Fri Nov 03 16:27:47 2017 +0100
9aaf778
MAJOR: connection : Split struct connection into struct connection and struct conn_stream.
by Olivier Houchard
· Wed Sep 13 18:30:23 2017 +0200
53a4766
MEDIUM: connection: start to introduce a mux layer between xprt and data
by Willy Tarreau
· Mon Aug 28 10:53:00 2017 +0200
5b51755
MEDIUM: threads/lb: Make LB algorithms (lb_*.c) thread-safe
by Christopher Faulet
· Fri Jun 09 14:17:53 2017 +0200
29f77e8
MEDIUM: threads/server: Add a lock per server and atomically update server vars
by Christopher Faulet
· Thu Jun 08 14:04:45 2017 +0200
40a007c
MEDIUM: threads/server: Make connection list (priv/idle/safe) thread-safe
by Christopher Faulet
· Mon Jul 03 15:41:01 2017 +0200
ff8abcd
MEDIUM: threads/proxy: Add a lock per proxy and atomically update proxy vars
by Christopher Faulet
· Fri Jun 02 15:33:24 2017 +0200
f098fd0
MINOR: backend: use conn_full_close() instead of conn_force_close()
by Willy Tarreau
· Sun Oct 22 09:35:01 2017 +0200
ff2b7af
MINOR: server: add the srv_queue() sample fetch method
by Willy Tarreau
· Fri Oct 13 11:46:26 2017 +0200
52a91d3
MEDIUM: check: server states and weight propagation re-work
by Emeric Brun
· Thu Aug 31 14:41:55 2017 +0200
8fe4891
MINOR: backends: Make get_server_* functions explicitly static
by Christopher Faulet
· Fri Jun 09 14:23:09 2017 +0200
f0614e8
MINOR: backends: Change get_server_sh/get_server_uh into private function
by Christopher Faulet
· Fri Jun 09 14:20:29 2017 +0200
2754fbc
CLEANUP: Replace repeated code to count usable servers with be_usable_srv()
by Nenad Merdanovic
· Sun Mar 12 21:56:56 2017 +0100
b7e7c47
MINOR: Add nbsrv sample converter
by Nenad Merdanovic
· Sun Mar 12 21:56:55 2017 +0100
04276f3
MEDIUM: server: split the address and the port into two different fields
by Willy Tarreau
· Fri Jan 06 17:41:29 2017 +0100
1ca1b6f
BUG/MINOR: option prefer-last-server must be ignored in some case
by Olivier Doucet
· Mon Jan 02 11:48:57 2017 +0100
57b8771
BUG/MINOR: backend: nbsrv() should return 0 if backend is disabled
by Marcin Deranek
· Thu Dec 22 16:21:08 2016 +0100
a261e9b
CLEANUP: connection: remove all direct references to raw_sock and ssl_sock
by Willy Tarreau
· Thu Dec 22 20:44:00 2016 +0100
d2471c2
MINOR: proxy: Add fe_name/be_name fetchers next to existing fe_id/be_id
by Marcin Deranek
· Mon Dec 12 14:08:05 2016 +0100
4896c44
DOC: Spelling fixes
by Tim Düsterhus
· Tue Nov 29 02:15:19 2016 +0100
b3e111b
BUG/MEDIUM: proxy: return "none" and "unknown" for unknown LB algos
by Willy Tarreau
· Sat Nov 26 15:52:04 2016 +0100
6fb8dc1
MINOR: server: do not emit warnings/logs/alerts on server state changes at boot
by Willy Tarreau
· Thu Nov 03 19:42:36 2016 +0100
13d5ebb
MINOR: server: compute a "cumulative weight" to allow chash balancing to hit its target
by Andrew Rodland
· Tue Oct 25 12:49:45 2016 -0400
2e0565c
BUG/MAJOR: server: the "sni" directive could randomly cause trouble
by Willy Tarreau
· Tue Aug 09 11:55:21 2016 +0200
Next »