Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
568415a51f8a55052806f55223a2d84d2f78d8bd
/
src
/
checks.c
5d503fc
MEDIUM: checks: Add a shared list of tcp-check rules
by Christopher Faulet
· Mon Mar 30 20:34:34 2020 +0200
f50f4e9
MEDIUM: checks: Support log-format strings for tcp-check send rules
by Christopher Faulet
· Mon Mar 30 19:52:29 2020 +0200
b7d3009
MEDIUM: checks: Support expression to set the port
by Christopher Faulet
· Mon Mar 30 15:19:03 2020 +0200
5c28874
MINOR: checks: Add the addr option for tcp-check connect rule
by Christopher Faulet
· Tue Mar 31 08:15:58 2020 +0200
4dce592
MINOR: checks: Add the default option for tcp-check connect rules
by Christopher Faulet
· Mon Mar 30 13:54:42 2020 +0200
9857232
MINOR: checks: Add the alpn option for tcp-check connect rules
by Christopher Faulet
· Mon Mar 30 13:16:44 2020 +0200
085426a
MINOR: checks: Add the via-socks4 option for tcp-check connect rules
by Christopher Faulet
· Mon Mar 30 13:07:02 2020 +0200
79b31d4
MINOR: checks: Add the sni option for tcp-check connect rules
by Christopher Faulet
· Mon Mar 30 13:00:05 2020 +0200
0c39ecc
MINOR: checks: Add support to set-var and unset-var rules in tcp-checks
by Gaetan Rivet
· Mon Feb 24 17:34:11 2020 +0100
707b52f
MEDIUM: checks: Parse custom action rules in tcp-checks
by Gaetan Rivet
· Fri Feb 21 18:14:59 2020 +0100
13a5043
MINOR: checks/vars: Add a check scope for variables
by Gaetan Rivet
· Fri Feb 21 18:13:44 2020 +0100
05d692d
MEDIUM: checks: Associate a session to each tcp-check healthcheck
by Gaetan Rivet
· Fri Feb 14 17:42:54 2020 +0100
b2c2e0f
MAJOR: checks: Refactor and simplify the tcp-check loop
by Christopher Faulet
· Mon Mar 30 11:05:10 2020 +0200
a202d1d
MEDIUM: checks: Add implicit tcp-check connect rule
by Christopher Faulet
· Thu Mar 26 17:38:49 2020 +0100
06d963a
MINOR: checks: define a tcp-check connect type
by Gaetan Rivet
· Fri Feb 21 18:49:05 2020 +0100
48219dc
MINOR: checks: define tcp-check send type
by Gaetan Rivet
· Fri Feb 21 18:41:28 2020 +0100
5301b01
MINOR: checks: Set the tcp-check rule index during parsing
by Gaetan Rivet
· Tue Feb 25 17:19:17 2020 +0100
fd6c229
MEDIUM: proxy/checks: Register a keyword to parse tcp-check rules
by Christopher Faulet
· Wed Mar 25 18:20:15 2020 +0100
1d22d7e
MEDIUM: checks: Use a non-comment rule iterator to get next rule
by Gaetan Rivet
· Fri Feb 14 17:47:08 2020 +0100
04578db
MINOR: checks: Don't use a static tcp rule list head
by Gaetan Rivet
· Fri Feb 07 15:37:17 2020 +0100
9dcb09f
MEDIUM: checks: capture groups in expect regexes
by Gaetan Rivet
· Fri Feb 07 15:37:17 2020 +0100
3c29aa6
MINOR: checks: Simplify functions to get step id and comment
by Christopher Faulet
· Tue Mar 24 13:31:19 2020 +0100
efab6c6
MINOR: checks: add rbinary expect match type
by Gaetan Rivet
· Fri Feb 07 15:37:17 2020 +0100
21f3695
MINOR: checks: Stop xform buffers to null-terminated string for tcp-check rules
by Christopher Faulet
· Thu Mar 19 16:59:45 2020 +0100
9e47fa4
MEDIUM: checks: rewrite tcp-check expect block
by Gaetan Rivet
· Wed Feb 26 15:59:22 2020 +0100
b616add
MINOR: checks: define a tcp expect type
by Gaetan Rivet
· Fri Feb 07 15:37:17 2020 +0100
f8ba677
MINOR: checks: add linger option to tcp connect
by Gaetan Rivet
· Fri Feb 07 15:37:17 2020 +0100
1afd826
MINOR: checks: add min-recv tcp-check expect option
by Gaetan Rivet
· Fri Feb 07 15:37:17 2020 +0100
4038b94
MEDIUM: checks: rewind to the first inverse expect rule of a chain on new data
by Gaetan Rivet
· Wed Feb 26 16:19:40 2020 +0100
08fdcb3
MINOR: checks: Simplify connection flag parsing in tcp-check connect
by Gaetan Rivet
· Fri Feb 28 11:04:21 2020 +0100
738ee76
BUG/MINOR: checks: chained expect will not properly wait for enough data
by Gaetan Rivet
· Thu Feb 13 10:30:01 2020 +0100
31c30fd
CLEANUP: checks: Don't export anymore init_check and srv_check_healthcheck_port
by Christopher Faulet
· Thu Mar 26 21:10:03 2020 +0100
8892e5d
BUG/MEDIUM: server/checks: Init server check during config validity check
by Christopher Faulet
· Thu Mar 26 19:48:20 2020 +0100
f61f33a
BUG/MINOR: checks: Respect the no-check-ssl option
by Christopher Faulet
· Fri Mar 27 18:55:49 2020 +0100
8acb128
MINOR: checks: Add a way to send custom headers and payload during http chekcs
by Christopher Faulet
· Thu Apr 09 08:44:06 2020 +0200
aaae9a0
BUG/MINOR: check: Update server address and port to execute an external check
by Christopher Faulet
· Sun Apr 26 09:50:31 2020 +0200
d425950
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Wed Apr 08 01:07:56 2020 +0500
5a6d3e7
BUG/MINOR: checks/threads: use ha_random() and not rand()
by Willy Tarreau
· Sun Mar 08 17:53:53 2020 +0100
7c9d0e1
MINOR: checks: do not call conn_xprt_stop_send() anymore
by Willy Tarreau
· Fri Feb 21 10:13:03 2020 +0100
74ab7d2
BUG/MINOR: tcpchecks: fix the connect() flags regarding delayed ack
by Willy Tarreau
· Fri Jan 24 17:52:37 2020 +0100
f22758d
MINOR: connection: remove some unneeded checks for CO_FL_SOCK_WR_SH
by Willy Tarreau
· Thu Jan 23 18:25:23 2020 +0100
6d01572
MINOR: connection: remove checks for CO_FL_HANDSHAKE before I/O
by Willy Tarreau
· Thu Jan 23 17:30:42 2020 +0100
911db9b
MEDIUM: connection: use CO_FL_WAIT_XPRT more consistently than L4/L6/HANDSHAKE
by Willy Tarreau
· Thu Jan 23 16:27:54 2020 +0100
c192b0a
MEDIUM: connection: remove CO_FL_CONNECTED and only rely on CO_FL_WAIT_*
by Willy Tarreau
· Thu Jan 23 09:11:58 2020 +0100
37d7897
BUG/MEDIUM: checks: Only attempt to do handshakes if the connection is ready.
by Olivier Houchard
· Mon Dec 30 15:13:42 2019 +0100
c8dc20a
BUG/MINOR: checks: refine which errno values are really errors.
by Willy Tarreau
· Fri Dec 27 12:03:27 2019 +0100
aebeff7
BUG/MEDIUM: checks: Make sure we set the task affinity just before connecting.
by Olivier Houchard
· Fri Nov 29 16:18:51 2019 +0100
d96f112
MEDIUM: init: prevent process and thread creation at runtime
by Willy Tarreau
· Tue Dec 03 07:07:36 2019 +0100
0f0393f
BUG/MEDIUM: checks: make sure the connection is ready before trying to recv
by Willy Tarreau
· Tue Sep 24 10:43:03 2019 +0200
ff1e9f3
MEDIUM: tasklets: Make the tasklet list a struct mt_list.
by Olivier Houchard
· Fri Sep 20 17:18:35 2019 +0200
6dd4ac8
BUG/MEDIUM: check/threads: make external checks run exclusively on thread 1
by Willy Tarreau
· Tue Sep 03 18:55:02 2019 +0200
c594039
BUG/MINOR: checks: do not uselessly poll for reads before the connection is up
by Willy Tarreau
· Thu Sep 05 17:38:40 2019 +0200
4c1a2b3
BUG/MINOR: checks: make __event_chk_srv_r() report success before closing
by Willy Tarreau
· Thu Sep 05 18:43:22 2019 +0200
cc705a6
BUG/MINOR: checks: start sending the request right after connect()
by Willy Tarreau
· Thu Sep 05 17:51:30 2019 +0200
5909380
BUG/MINOR: checks: stop polling for write when we have nothing left to send
by Willy Tarreau
· Thu Sep 05 18:24:46 2019 +0200
5488a62
BUG/MEDIUM: checks: make sure to close nicely when we're the last to speak
by Willy Tarreau
· Tue Aug 06 16:26:31 2019 +0200
ef91c93
BUG/MEDIUM: tcp-checks: do not dereference inexisting conn_stream
by Willy Tarreau
· Tue Jul 23 14:37:47 2019 +0200
ca79f59
MEDIUM: connection: make sure all address producers allocate their address
by Willy Tarreau
· Wed Jul 17 19:04:47 2019 +0200
b3c81cb
MINOR: checks: replace conn->addr.to with conn->dst
by Willy Tarreau
· Wed Jul 17 16:54:52 2019 +0200
2ab5c38
BUG/MINOR: checks: do not exit tcp-checks from the middle of the loop
by Willy Tarreau
· Wed Jul 17 18:48:07 2019 +0200
0ba6c85
BUG/MEDIUM: checks: Don't attempt to receive data if we already subscribed.
by Olivier Houchard
· Thu Jul 18 15:09:08 2019 +0200
7df8ca6
BUG/MEDIUM: tcp-check: unbreak multiple connect rules again
by Willy Tarreau
· Mon Jul 15 10:57:51 2019 +0200
bc89ad8
BUG/MEDIUM: checks: Don't attempt to read if we destroyed the connection.
by Olivier Houchard
· Tue Jul 09 17:28:51 2019 +0200
f494957
BUG/MEDIUM: checks: Make sure the tasklet won't run if the connection is closed.
by Olivier Houchard
· Tue Jul 02 17:42:22 2019 +0200
6c7e96a
BUG/MEDIUM: connections: Always call shutdown, with no linger.
by Olivier Houchard
· Tue Jul 02 16:35:18 2019 +0200
2df8cad
BUG/MEDIUM: checks: unblock signals in external checks
by Willy Tarreau
· Mon Jul 01 07:51:29 2019 +0200
86eded6
CLEANUP: tasks: rename task_remove_from_tasklet_list() to tasklet_remove_*
by Willy Tarreau
· Fri Jun 14 14:47:49 2019 +0200
3c39a7d
CLEANUP: connection: rename the wait_event.task field to .tasklet
by Willy Tarreau
· Fri Jun 14 14:42:29 2019 +0200
fe50bfb
MEDIUM: connections: Introduce a handshake pseudo-XPRT.
by Olivier Houchard
· Mon May 27 12:09:19 2019 +0200
4906554
MEDIUM: checks: Make sure we unsubscribe before calling cs_destroy().
by Olivier Houchard
· Fri May 31 19:20:36 2019 +0200
2a54bb7
MEDIUM: connection: Upstream SOCKS4 proxy support
by Alexander Liu
· Wed May 22 19:44:48 2019 +0800
c125cef
CLEANUP: ssl: make inclusion of openssl headers safe
by Willy Tarreau
· Fri May 10 09:58:43 2019 +0200
f656279
CLEANUP: task: remove unneeded tests before task_destroy()
by Willy Tarreau
· Tue May 07 19:05:35 2019 +0200
2674303
MEDIUM: regex: modify regex_comp() to atomically allocate/free the my_regex struct
by Dragan Dosen
· Tue Apr 30 15:54:36 2019 +0200
fdcb007
MEDIUM: proto: Change the prototype of the connect() method.
by Olivier Houchard
· Mon May 06 18:32:29 2019 +0200
4fc49a9
BUG/MEDIUM: checks: make sure the warmup task takes the server lock
by Willy Tarreau
· Sun May 05 06:54:22 2019 +0200
3f795f7
MEDIUM: tasks: Merge task_delete() and task_free() into task_destroy().
by Olivier Houchard
· Wed Apr 17 22:51:06 2019 +0200
4bccea9
BUG/MAJOR: checks: segfault during tcpcheck_main
by Ricardo Nabinger Sanchez
· Thu Mar 28 21:42:23 2019 -0300
06f6811
BUG/MEDIUM: checks: Don't bother subscribing if we have a connection error.
by Olivier Houchard
· Thu Mar 28 17:32:42 2019 +0100
7059c55
MEDIUM: checks: Use the new _HA_ATOMIC_* macros.
by Olivier Houchard
· Fri Mar 08 18:49:32 2019 +0100
9f6dc72
BUG/MINOR: checks: make external-checks restore the original rlim_fd_cur/max
by Willy Tarreau
· Fri Mar 01 11:15:10 2019 +0100
2555ccf
MINOR: checks: use my_closefrom() to close all FDs
by Willy Tarreau
· Thu Feb 21 22:22:06 2019 +0100
a48437b
BUG/MEDIUM: checks: Don't try to set ALPN if connection failed.
by Olivier Houchard
· Tue Jan 29 16:37:52 2019 +0100
f67be93
BUG/MEDIUM: checks: Check that conn_install_mux succeeded.
by Olivier Houchard
· Tue Jan 29 15:47:43 2019 +0100
774c486
BUG/MINOR: check: Wake the check task if the check is finished in wake_srv_chk()
by Christopher Faulet
· Mon Jan 21 14:15:50 2019 +0100
0923fa4
BUG/MEDIUM: checks: Avoid having an associated server for email checks.
by Olivier Houchard
· Fri Jan 11 18:43:04 2019 +0100
c98aa1f
MINOR: checks: Store the proxy in checks.
by Olivier Houchard
· Fri Jan 11 18:17:17 2019 +0100
9215014
MEDIUM: checks: Add check-alpn.
by Olivier Houchard
· Fri Dec 21 19:47:01 2018 +0100
4f6516d
CLEANUP: connection: rename subscription events values and event field
by Willy Tarreau
· Wed Dec 19 13:59:17 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
8ceae72
MEDIUM: init: use initcall for all fixed size pool creations
by Willy Tarreau
· Mon Nov 26 11:58:30 2018 +0100
172f5ce
MINOR: initcall: use initcalls for most post_{check,deinit} and per_thread*
by Willy Tarreau
· Mon Nov 26 11:21:50 2018 +0100
86abe44
MEDIUM: init: use self-initializing spinlocks and rwlocks
by Willy Tarreau
· Sun Nov 25 20:12:18 2018 +0100
53216e7
MEDIUM: connections: Don't directly mess with the polling from the upper layers.
by Olivier Houchard
· Wed Oct 10 15:46:36 2018 +0200
fa8aa86
MEDIUM: connections: Change struct wait_list to wait_event.
by Olivier Houchard
· Wed Oct 10 18:25:41 2018 +0200
5ab01cb
BUG/MINOR: checks: queues null-deref
by mildis
· Tue Oct 02 16:46:34 2018 +0200
543abd4
BUILD: checks: silence a null-deref build warning at -Wextra
by Willy Tarreau
· Thu Sep 20 11:25:12 2018 +0200
175a2bb
MINOR: connection: pass the proxy when creating a connection
by Willy Tarreau
· Wed Sep 12 12:02:05 2018 +0200
26e1a8f
MINOR: checks: Give checks their own wait_list.
by Olivier Houchard
· Wed Sep 12 15:15:12 2018 +0200
af4021e
MEDIUM: connections: Get rid of the recv() method.
by Olivier Houchard
· Thu Aug 09 13:06:55 2018 +0200
Next »