Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
8f100427c4bf56acff967e313cd9cb8d42da035d
/
src
/
backend.c
« Previous
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
a261e9b
CLEANUP: connection: remove all direct references to raw_sock and ssl_sock
by Willy Tarreau
· 8 years ago
d2471c2
MINOR: proxy: Add fe_name/be_name fetchers next to existing fe_id/be_id
by Marcin Deranek
· 8 years ago
4896c44
DOC: Spelling fixes
by Tim Düsterhus
· 8 years ago
b3e111b
BUG/MEDIUM: proxy: return "none" and "unknown" for unknown LB algos
by Willy Tarreau
· 8 years ago
6fb8dc1
MINOR: server: do not emit warnings/logs/alerts on server state changes at boot
by Willy Tarreau
· 8 years ago
13d5ebb
MINOR: server: compute a "cumulative weight" to allow chash balancing to hit its target
by Andrew Rodland
· 8 years ago
2e0565c
BUG/MAJOR: server: the "sni" directive could randomly cause trouble
by Willy Tarreau
· 8 years ago
be508f1
BUG/MAJOR: samples: check smp->strm before using it
by Willy Tarreau
· 9 years ago
0aae480
BUG/MAJOR: http-reuse: fix risk of orphaned connections
by Willy Tarreau
· 9 years ago
29fbe51
MAJOR: tproxy: remove support for cttproxy
by Willy Tarreau
· 9 years ago
136f9d3
MINOR: samples: rename union from "data" to "u"
by Thierry FOURNIER
· 9 years ago
8c542ca
MEDIUM: samples: Use the "struct sample_data" in the "struct sample"
by Thierry FOURNIER
· 9 years ago
449d74a
MEDIUM: backend: add the "http-reuse aggressive" strategy
by Willy Tarreau
· 9 years ago
161d45f
MEDIUM: backend: implement "http-reuse safe"
by Willy Tarreau
· 9 years ago
efb90f9
MAJOR: backend: improve the connection reuse mechanism
by Willy Tarreau
· 9 years ago
8dff998
MAJOR: backend: initial work towards connection reuse
by Willy Tarreau
· 9 years ago
387ebf8
MINOR: connection: add a new flag CO_FL_PRIVATE
by Willy Tarreau
· 9 years ago
323a2d9
MEDIUM: stream-int: queue idle connections at the server
by Willy Tarreau
· 9 years ago
973a542
MEDIUM: stream-int: simplify si_alloc_conn()
by Willy Tarreau
· 9 years ago
c12b5e6
MEDIUM: backend: don't call si_alloc_conn() when we reuse a valid connection
by Willy Tarreau
· 9 years ago
7b00492
CLEANUP: backend: factor out objt_server() in connect_server()
by Willy Tarreau
· 9 years ago
07ee64e
MAJOR: sample: converts uint and sint in 64 bits signed integer
by Thierry FOURNIER
· 9 years ago
732eac4
MEDIUM: ssl: add sni support on the server lines
by Willy Tarreau
· 9 years ago
0786d05
MEDIUM: sample: change the prototype of sample-fetches functions
by Thierry FOURNIER
· 9 years ago
0a9a2b8
MEDIUM: sample change the prototype of sample-fetches and converters functions
by Thierry FOURNIER
· 9 years ago
f69d4ff
BUG/MAJOR: http: prevent risk of reading past end with balance url_param
by Willy Tarreau
· 10 years ago
d0d8da9
MINOR: stream: provide a few helpers to retrieve frontend, listener and origin
by Willy Tarreau
· 10 years ago
192252e
MAJOR: sample: pass a pointer to the session to each sample fetch function
by Willy Tarreau
· 10 years ago
15e91e1
MAJOR: sample: don't pass l7 anymore to sample fetch functions
by Willy Tarreau
· 10 years ago
eee5b51
MAJOR: http: move http_txn out of struct stream
by Willy Tarreau
· 10 years ago
9ad7bd4
MEDIUM: session: use the pointer to the origin instead of s->si[0].end
by Willy Tarreau
· 10 years ago
e36cbcb
MEDIUM: stream: move the frontend's pointer to the session
by Willy Tarreau
· 10 years ago
e7dff02
REORG/MEDIUM: stream: rename stream flags from SN_* to SF_*
by Willy Tarreau
· 10 years ago
87b0966
REORG/MAJOR: session: rename the "session" entity to "stream"
by Willy Tarreau
· 10 years ago
350f487
CLEANUP: session: simplify references to chn_{prod,cons}(&s->{req,res})
by Willy Tarreau
· 10 years ago
7379653
REORG/MEDIUM: channel: only use chn_prod / chn_cons to find stream-interfaces
by Willy Tarreau
· 10 years ago
22ec1ea
REORG/MAJOR: move session's req and resp channels back into the session
by Willy Tarreau
· 10 years ago
f41a809
MINOR: sample: add private argument to the struct sample_fetch
by Thierry FOURNIER
· 10 years ago
bb2ae64
MEDIUM: protocol: automatically pick the proto associated to the connection.
by Thierry FOURNIER
· 10 years ago
324f07f
MEDIUM: backend: add the crc32 hash algorithm for load balancing
by Willy Tarreau
· 10 years ago
f607d81
BUG/MEDIUM: backend: correctly detect the domain when use_domain_only is used
by Cyril Bonté
· 10 years ago
fe1ebcd
BUG/MAJOR: ns: HAProxy segfault if the cli_conn is not from a network connection
by Thierry FOURNIER
· 10 years ago
f2dd68d
DOC: fix a few typos
by Godbach
· 10 years ago
Next »