Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
2705a61d8c999c9873333f45f1778006ac40e745
/
src
/
checks.c
81f5d94
MAJOR: agent: rework the response processing and support additional actions
by Willy Tarreau
· Mon Dec 09 20:51:51 2013 +0100
2396418
MINOR: checks: support a neutral check result
by Willy Tarreau
· Tue May 20 20:56:30 2014 +0200
12634e1
MINOR: checks: support specific check reporting for the agent
by Willy Tarreau
· Fri May 23 11:32:36 2014 +0200
db58b79
MEDIUM: checks: simplify stopping mode notification using srv_set_stopping()
by Willy Tarreau
· Wed May 21 13:57:23 2014 +0200
3e04838
MEDIUM: checks: simplify success notification using srv_set_running()
by Willy Tarreau
· Wed May 21 10:30:54 2014 +0200
4eec547
MEDIUM: checks: simplify failure notification using srv_set_stopped()
by Willy Tarreau
· Tue May 20 22:32:27 2014 +0200
a150cf1
MINOR: checks: simplify health check reporting functions
by Willy Tarreau
· Tue May 20 21:57:23 2014 +0200
7b1d47c
MAJOR: checks: move health checks changes to set_server_check_status()
by Willy Tarreau
· Tue May 20 14:55:13 2014 +0200
af54958
MEDIUM: checks: simplify server up/down/nolb transitions
by Willy Tarreau
· Fri May 16 17:37:50 2014 +0200
ddd329c
CLEANUP: checks: rename the server_status_printf function
by Willy Tarreau
· Fri May 16 16:46:12 2014 +0200
4aac7db
REORG: checks: put the functions in the appropriate files !
by Willy Tarreau
· Fri May 16 11:48:10 2014 +0200
892337c
MAJOR: server: use states instead of flags to store the server state
by Willy Tarreau
· Tue May 13 23:41:20 2014 +0200
2012521
REORG/MEDIUM: server: move the maintenance bits out of the server state
by Willy Tarreau
· Tue May 13 19:44:56 2014 +0200
c93cd16
REORG/MEDIUM: server: split server state and flags in two different variables
by Willy Tarreau
· Tue May 13 15:54:22 2014 +0200
02615f9
MINOR: server: remove the SRV_DRAIN flag which can always be deduced
by Willy Tarreau
· Tue May 13 22:08:20 2014 +0200
bef1b32
MINOR: checks: simplify and improve reporting of state changes when using log-health-checks
by Willy Tarreau
· Tue May 13 21:01:39 2014 +0200
ec6b012
BUG/MINOR: checks: tcp-check must not stop on '\0' for binary checks
by Willy Tarreau
· Tue May 13 17:57:29 2014 +0200
640556c
BUG/MINOR: checks: correctly configure the address family and protocol
by Willy Tarreau
· Fri May 09 23:38:15 2014 +0200
1746eec
MINOR: checks: add a new global max-spread-checks directive
by Willy Tarreau
· Fri Apr 25 10:46:47 2014 +0200
a1dab55
BUILD/MEDIUM: checks: get rid of sprintf()
by Willy Tarreau
· Mon Apr 14 15:04:54 2014 +0200
852745d
BUG/MAJOR: check: fix memory leak in "tcp-check connect" over SSL
by Willy Tarreau
· Tue Feb 11 17:53:37 2014 +0100
1049b1f
MEDIUM: connection: don't use real send() flags in snd_buf()
by Willy Tarreau
· Sun Feb 02 01:51:17 2014 +0100
3be293f
BUG/MEDIUM: checks: immediately report a connection success
by Willy Tarreau
· Wed Feb 05 18:31:24 2014 +0100
f621bea
BUG/MINOR: tcpcheck connect wrong behavior
by Baptiste Assmann
· Mon Feb 03 22:38:15 2014 +0100
69e273f
MEDIUM: tcp-check new feature: connect
by Baptiste Assmann
· Wed Dec 11 00:52:19 2013 +0100
3c72872
CLEANUP: connection: use conn_ctrl_ready() instead of checking the flag
by Willy Tarreau
· Thu Jan 23 13:50:42 2014 +0100
310987a
MAJOR: connection: remove the CO_FL_WAIT_{RD,WR} flags
by Willy Tarreau
· Wed Jan 22 19:46:33 2014 +0100
f817e9f
MAJOR: polling: rework the whole polling system
by Willy Tarreau
· Fri Jan 10 16:58:45 2014 +0100
4bd07de
MEDIUM: checks: make use of chk_report_conn_err() for connection errors
by Willy Tarreau
· Fri Jan 24 16:10:57 2014 +0100
46be2e5
MEDIUM: connection: update callers of ctrl->drain() to use conn_drain()
by Willy Tarreau
· Mon Jan 20 12:10:52 2014 +0100
7f4bcc3
MINOR: protocol: improve the proto->drain() API
by Willy Tarreau
· Mon Jan 20 11:26:12 2014 +0100
abf08d9
BUG/MAJOR: connection: fix mismatch between rcv_buf's API and usage
by Willy Tarreau
· Tue Jan 14 11:31:27 2014 +0100
9fe7aae
MINOR: checks: use an inline function for health_adjust()
by Willy Tarreau
· Tue Dec 31 23:47:37 2013 +0100
e24d963
BUG/MEDIUM: checks: unchecked servers could not be enabled anymore
by Willy Tarreau
· Sat Dec 28 21:21:31 2013 +0100
9f708ab
BUG/MINOR: checks: successful check completion must not re-enable MAINT servers
by Willy Tarreau
· Mon Dec 23 14:04:17 2013 +0100
02541e8
BUG/MEDIUM: checks: servers must not start in slowstart mode
by Willy Tarreau
· Mon Dec 16 18:08:36 2013 +0100
ad38ace
MEDIUM: connection: centralize handling of nolinger in fd management
by Willy Tarreau
· Sun Dec 15 14:19:38 2013 +0100
bb9665e
BUG/MEDIUM: checks: ensure we can enable a server after boot
by Willy Tarreau
· Sat Dec 14 16:14:15 2013 +0100
0d924cc
MEDIUM: checks: enable agent checks even if health checks are disabled
by Willy Tarreau
· Wed Dec 11 21:26:24 2013 +0100
3343432
MINOR: checks: add a flag to indicate what check is an agent
by Willy Tarreau
· Wed Dec 11 21:15:19 2013 +0100
d8514a2
MINOR: checks: create the agent tasks even when no check is configured
by Willy Tarreau
· Wed Dec 11 21:10:14 2013 +0100
33a08db
MINOR: checks: add a PAUSED state for the checks
by Willy Tarreau
· Wed Dec 11 21:03:31 2013 +0100
15f3910
MINOR: checks: fix agent check interval computation
by Willy Tarreau
· Wed Dec 11 20:41:18 2013 +0100
ff5ae35
MINOR: checks: use check->state instead of srv->state & SRV_CHECKED
by Willy Tarreau
· Wed Dec 11 20:36:34 2013 +0100
2e10f5a
MINOR: checks: replace state DISABLED with CONFIGURED and ENABLED
by Willy Tarreau
· Wed Dec 11 20:11:55 2013 +0100
2c115e5
MINOR: checks: rename the state flags
by Willy Tarreau
· Wed Dec 11 19:41:16 2013 +0100
6aaa1b8
MINOR: checks: use an enum instead of flags to report a check result
by Willy Tarreau
· Wed Dec 11 17:09:34 2013 +0100
1a53a3a
MINOR: checks: improve handling of the servers tracking chain
by Willy Tarreau
· Wed Dec 11 15:27:05 2013 +0100
9809b78
BUG/MEDIUM: checks: agent doesn't get the response if server does not closes
by Willy Tarreau
· Wed Dec 11 21:40:11 2013 +0100
57cd3e4
MEDIUM: connection: merge the send_proxy and local_send_proxy calls
by Willy Tarreau
· Thu Oct 24 22:01:26 2013 +0200
7abddb5
MINOR: connection: replace conn_assign with conn_attach
by Willy Tarreau
· Thu Oct 24 15:31:04 2013 +0200
910c6aa
MINOR: connection: reintroduce conn_prepare to set the protocol and transport
by Willy Tarreau
· Thu Oct 24 15:08:37 2013 +0200
f79c817
MAJOR: connection: add two new flags to indicate readiness of control/transport
by Willy Tarreau
· Mon Oct 21 16:30:56 2013 +0200
3721343
MEDIUM: connection: replace conn_prepare with conn_assign
by Willy Tarreau
· Mon Oct 14 19:46:29 2013 +0200
4bdae8a
MINOR: checks: call conn_init() to properly initialize the connection.
by Willy Tarreau
· Mon Oct 14 17:29:15 2013 +0200
fbe0edf
MEDIUM: checks: make tcp-check perform multiple send() at once
by Willy Tarreau
· Fri Dec 06 16:54:31 2013 +0100
98aec9f
BUG/MINOR: checks: tcp-check actions are enums, not flags
by Willy Tarreau
· Fri Dec 06 16:16:41 2013 +0100
abca5b6
BUG/MEDIUM: check: tcp-check might miss some outgoing data when socket buffers are full
by Willy Tarreau
· Fri Dec 06 14:19:25 2013 +0100
a970c28
BUG/MEDIUM: checks: tcp-check: do not poll when there's nothing to send
by Willy Tarreau
· Fri Dec 06 12:47:19 2013 +0100
5ecb77f
MEDIUM: checks: add send/expect tcp based check
by Baptiste Assmann
· Sun Oct 06 23:24:13 2013 +0200
2d351b6
OPTIM: checks: avoid setting SO_LINGER twice
by Willy Tarreau
· Thu Dec 05 02:36:25 2013 +0100
06559ac
OPTIM: checks: don't poll on recv when using plain TCP connects
by Willy Tarreau
· Thu Dec 05 01:53:08 2013 +0100
25e2ab5
MEDIUM: checks: centralize error reporting
by Willy Tarreau
· Wed Dec 04 11:17:05 2013 +0100
20a1834
BUG/MINOR: checks: do not trust errno in write event before any syscall
by Willy Tarreau
· Thu Dec 05 00:31:46 2013 +0100
ea292ae
BUG/MINOR: checks: don't consider errno and use conn->err_code
by Willy Tarreau
· Tue Dec 03 22:48:23 2013 +0100
02b0f58
BUG/MEDIUM: checks: fix a long-standing issue with reporting connection errors
by Willy Tarreau
· Tue Dec 03 15:42:33 2013 +0100
81cf08c
BUG/MAJOR: check: fix haproxy crash during soft-stop/soft-start
by Willy Tarreau
· Thu Nov 28 11:27:16 2013 +0100
bc16cd8
BUG/MAJOR: fix haproxy crash when using server tracking instead of checks
by Willy Tarreau
· Wed Nov 27 16:52:23 2013 +0100
8c3d0be
MEDIUM: Add DRAIN state and report it on the stats page
by Simon Horman
· Mon Nov 25 10:46:40 2013 +0900
671b6f0
MEDIUM: Add enable and disable agent unix socket commands
by Simon Horman
· Mon Nov 25 10:46:39 2013 +0900
58c3297
MEDIUM: Set rise and fall of agent checks to 1
by Simon Horman
· Mon Nov 25 10:46:38 2013 +0900
2f1f955
MEDIUM: Do not mark a server as down if the agent is unavailable
by Simon Horman
· Mon Nov 25 10:46:37 2013 +0900
d60d691
MEDIUM: checks: Add supplementary agent checks
by Simon Horman
· Mon Nov 25 10:46:36 2013 +0900
80fefae
MEDIUM: Log agent fail, stopped or down as info
by Simon Horman
· Mon Nov 25 10:46:34 2013 +0900
d858306
MEDIUM: Add helper function for failed checks
by Simon Horman
· Mon Nov 25 10:46:33 2013 +0900
5c94242
MEDIUM: Add helper for task creation for checks
by Simon Horman
· Mon Nov 25 10:46:32 2013 +0900
004e045
BUG/MAJOR: server: weight calculation fails for map-based algorithms
by Willy Tarreau
· Thu Nov 21 11:22:01 2013 +0100
e7b7348
BUG/MEDIUM: checks: fix slow start regression after fix attempt
by Willy Tarreau
· Thu Nov 21 11:50:50 2013 +0100
125d099
MEDIUM: Move health element to struct check
by Simon Horman
· Sun Feb 24 17:23:38 2013 +0900
cd5d7b6
MEDIUM: Add state to struct check
by Simon Horman
· Sun Feb 24 17:23:38 2013 +0900
4a74143
MEDIUM: Paramatise functions over the check of a server
by Simon Horman
· Sat Feb 23 15:35:38 2013 +0900
28b5ffc
MEDIUM: Move result element to struct check
by Simon Horman
· Sun Feb 24 07:25:29 2013 +0900
6618300
MEDIUM: Split up struct server's check element
by Simon Horman
· Sat Feb 23 10:16:43 2013 +0900
1d57e50
BUG/MINOR: fix forcing fastinter in "on-error"
by Sergiy Prykhodko
· Sat Sep 21 12:05:00 2013 +0300
2b57cb8
MEDIUM: protocol: implement a "drain" function in protocol layers
by Willy Tarreau
· Mon Jun 10 19:56:38 2013 +0200
9046bbf
BUILD: stdbool is not portable (again)
by Willy Tarreau
· Wed May 01 09:55:17 2013 +0200
8f46cca
BUG/MEDIUM: checks: don't call connect() on unsupported address families
by Willy Tarreau
· Mon Mar 04 20:07:44 2013 +0100
8b4c376
BUILD: fix a warning emitted by isblank() on non-c99 compilers
by Willy Tarreau
· Wed Feb 13 12:47:12 2013 +0100
a2b9dad
MEDIUM: checks: Add agent health check
by Simon Horman
· Tue Feb 12 10:45:54 2013 +0900
007f2a2
CLEANUP: checks: Make desc argument to set_server_check_status const
by Simon Horman
· Tue Feb 12 10:45:49 2013 +0900
5ba04f6
BUG/MEDIUM: checks: fix a race condition between checks and observe layer7
by Willy Tarreau
· Tue Feb 12 15:23:12 2013 +0100
bb95666
BUG/MEDIUM: checks: ensure the health_status is always within bounds
by Willy Tarreau
· Thu Jan 24 00:37:39 2013 +0100
c5c61fc
BUG/MEDIUM: checks: ignore late resets after valid responses
by Willy Tarreau
· Sun Dec 30 01:44:24 2012 +0100
14cba4b
MEDIUM: connection: add an error code in connections
by Willy Tarreau
· Fri Nov 30 17:33:05 2012 +0100
6c560da
BUG/MEDIUM: checks: report handshake failures
by Willy Tarreau
· Sat Nov 24 11:14:45 2012 +0100
f0837b2
MEDIUM: tcp: add explicit support for delayed ACK in connect()
by Willy Tarreau
· Sat Nov 24 10:24:27 2012 +0100
cfd97c6
BUG/MEDIUM: checks: prevent TIME_WAITs from appearing also on timeouts
by Willy Tarreau
· Fri Nov 23 17:35:59 2012 +0100
2b199c9
MEDIUM: connection: provide a common conn_full_close() function
by Willy Tarreau
· Fri Nov 23 17:32:21 2012 +0100
db3b4a2
MINOR: checks: fix recv polling after connect()
by Willy Tarreau
· Fri Nov 23 16:32:33 2012 +0100
b63b596
BUG/MAJOR: checks: close FD on all timeouts
by Willy Tarreau
· Fri Nov 23 16:22:08 2012 +0100
Next »