Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
1d117e3dcdae6b59b19e0d875530b5d1f6b24c03
/
src
/
checks.c
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
35b51c6
REORG: http: move the HTTP semantics definitions to http.h/http.c
by Willy Tarreau
· Mon Sep 10 15:38:55 2018 +0200
be37315
MINOR: connection: make the initialization more consistent
by Willy Tarreau
· Thu Sep 06 11:45:30 2018 +0200
4501c3e
MINOR: checks: Call wake_srv_chk() when we can finally send data.
by Olivier Houchard
· Tue Aug 28 19:36:18 2018 +0200
5c110b9
MINOR: checks: Add event_srv_chk_io().
by Olivier Houchard
· Tue Aug 14 17:04:58 2018 +0200
ed0f207
MINOR: connections: Get rid of txbuf.
by Olivier Houchard
· Thu Aug 16 15:41:52 2018 +0200
511efea
MINOR: connections: Make rcv_buf mandatory and nuke cs_recv().
by Olivier Houchard
· Thu Aug 16 15:30:32 2018 +0200
3ff577e
MAJOR: server: make server state changes synchronous again
by Willy Tarreau
· Thu Aug 02 11:48:52 2018 +0200
063f786
MINOR: conn_stream: add cs_send() as a default snd_buf() function
by Christopher Faulet
· Wed May 23 15:03:43 2018 +0200
d44a9b3
MEDIUM: mux: Remove const on the buffer in mux->snd_buf()
by Christopher Faulet
· Fri Jul 27 11:59:41 2018 +0200
11c9aa4
MEDIUM: conn_stream: add cs_recv() as a default rcv_buf() function
by Willy Tarreau
· Fri Mar 02 13:55:01 2018 +0100
8318885
MINOR: connection: simplify subscription by adding a registration function
by Willy Tarreau
· Wed Jul 18 08:18:20 2018 +0200
910b2bc
MEDIUM: connections/mux: Revamp the send direction.
by Olivier Houchard
· Tue Jul 17 18:49:38 2018 +0200
83061a8
MAJOR: chunks: replace struct chunk with struct buffer
by Willy Tarreau
· Fri Jul 13 11:56:34 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
a094fde
MINOR: checks: use b_putist() instead of b_putstr()
by Willy Tarreau
· Thu Jul 12 09:53:57 2018 +0200
55372f6
MINOR: buffer: replace b{i,o}_put* with b_put*
by Willy Tarreau
· Tue Jul 10 10:04:02 2018 +0200
876171e
MINOR: checks: adapt to the new buffer API
by Willy Tarreau
· Mon Jun 18 11:11:07 2018 +0200
eac5259
MINOR: buffer: use b_room() to determine available space in a buffer
by Willy Tarreau
· Fri Jun 15 13:59:36 2018 +0200
7f3225f
MINOR: connection: add a flags argument to rcv_buf()
by Willy Tarreau
· Tue Jun 19 06:15:17 2018 +0200
deccd11
MEDIUM: mux: make mux->snd_buf() take the byte count in argument
by Willy Tarreau
· Thu Jun 14 18:38:55 2018 +0200
506a29a
MINOR: buffer: switch buffer sizes and offsets to size_t
by Willy Tarreau
· Wed Jul 18 10:07:58 2018 +0200
6e1796e
BUG/MINOR: signals: ha_sigmask macro for multithreading
by William Lallemand
· Thu Jun 07 11:23:40 2018 +0200
9f6af33
MINOR: tasks: Change the task API so that the callback takes 3 arguments.
by Olivier Houchard
· Fri May 25 14:04:04 2018 +0200
b119a79
BUG/MINOR: checks: Fix check->health computation for flapping servers
by Christopher Faulet
· Wed May 02 12:12:45 2018 +0200
b797ae1
BUG/MINOR: email-alert: Set the mailer port during alert initialization
by Christopher Faulet
· Tue Mar 27 15:35:35 2018 +0200
2500fc2
BUG/MINOR: checks: check the conn_stream's readiness and not the connection
by Willy Tarreau
· Tue Apr 03 19:31:38 2018 +0200
2f3a56b
BUG/MINOR: tcp-check: use the server's service port as a fallback
by Baptiste Assmann
· Mon Mar 19 12:22:41 2018 +0100
248f117
BUG/MEDIUM: tcp-check: single connect rule can't detect DOWN servers
by Baptiste Assmann
· Thu Mar 01 21:49:01 2018 +0100
23d86d1
BUG/MEDIUM: checks: Don't try to release undefined conn_stream when a check is freed
by Christopher Faulet
· Thu Jan 25 11:36:35 2018 +0100
b26881a
BUG/MEDIUM: checks: properly set servers to stopping state on 404
by Willy Tarreau
· Sat Dec 23 11:16:49 2017 +0100
1714b9f
BUG/MEDIUM: email-alert: don't set server check status from a email-alert task
by PiBa-NL
· Wed Dec 06 01:35:43 2017 +0100
6377a00
BUG/MEDIUM: checks: Be sure we have a mux if we created a cs.
by Olivier Houchard
· Fri Dec 01 22:04:05 2017 +0100
b610285
BUG/MEDIUM: tcp-check: Don't lock the server in tcpcheck_main
by Christopher Faulet
· Tue Nov 28 10:06:29 2017 +0100
bafbe01
CLEANUP: pools: rename all pool functions and pointers to remove this "2"
by Willy Tarreau
· Fri Nov 24 17:34:44 2017 +0100
fbc74e8
MINOR/CLEANUP: proxy: rename "proxy" to "proxies_list"
by Olivier Houchard
· Fri Nov 24 16:54:05 2017 +0100
767a84b
CLEANUP: log: Rename Alert/Warning in ha_alert/ha_warning
by Christopher Faulet
· Fri Nov 24 16:50:31 2017 +0100
Next »