Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
7ec765568883b2d4e5a2796adbeb492a22ec9bd4
/
src
/
checks.c
5bff059
BUG/MEDIUM: checks: do not dereference a list as a tcpcheck struct
by Willy Tarreau
· Wed May 13 12:24:53 2015 +0200
97fccc8
BUG/MAJOR: checks: always check for end of list before proceeding
by Willy Tarreau
· Wed May 13 12:08:21 2015 +0200
ebb2bce
CLEANUP: checks: simplify the loop processing of tcp-checks
by Willy Tarreau
· Wed May 13 11:59:14 2015 +0200
b94a6d5
BUG/MEDIUM: checks: do not dereference head of a tcp-check at the end
by Willy Tarreau
· Wed May 13 11:38:17 2015 +0200
4f88900
CLEANUP: checks: fix double usage of cur / current_step in tcp-checks
by Willy Tarreau
· Wed May 13 11:23:01 2015 +0200
68e4fc2
BUG/MINOR: check: fix tcpcheck error message
by Baptiste Assmann
· Fri May 01 08:09:29 2015 +0200
bfb8f88
BUG/MEDIUM: Do not consider an agent check as failed on L7 error
by Simon Horman
· Thu Feb 26 11:26:17 2015 +0900
a448e16
BUG/MINOR: checks: prevent http keep-alive with http-check expect
by Cyril Bonté
· Fri Jan 30 00:07:07 2015 +0100
02c6212
BUG/MEDIUM: tcp-checks: disable quick-ack unless next rule is an expect
by Willy Tarreau
· Mon Dec 08 12:11:28 2014 +0100
619a6ae
BUG/MEDIUM: tcp-check: don't rely on random memory contents
by Willy Tarreau
· Mon Dec 08 11:52:28 2014 +0100
2f05bcd
BUG/MINOR: tcp-check: don't condition data polling on check type
by Willy Tarreau
· Mon Dec 08 11:26:08 2014 +0100
1f96a87
BUG/MEDIUM: checks: fix conflicts between agent checks and ssl healthchecks
by Cyril Bonté
· Sat Nov 15 22:41:27 2014 +0100
90055f2
BUG/MINOR: tcp-check: report the correct failed step in the status
by Willy Tarreau
· Thu Oct 02 14:51:02 2014 +0200
e61737a
BUG/MEDIUM: check: rule-less tcp-check must detect connect failures
by Willy Tarreau
· Thu Oct 02 14:30:14 2014 +0200
9ac7cab
BUG/MEDIUM: Consistently use 'check' in process_chk
by Simon Horman
· Fri Jun 20 12:29:47 2014 +0900
09af0d6
MEDIUM: regex: replace all standard regex function by own functions
by Thierry FOURNIER
· Wed Jun 18 11:35:54 2014 +0200
b00d17a
MEDIUM: Break out check establishment into connect_chk()
by Simon Horman
· Fri Jun 13 16:18:16 2014 +0900
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
Next »