Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
211d540a812f01647464ab9376c339baf056ab29
/
src
/
checks.c
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
9dcf9b6
MINOR: threads: Use __decl_hathreads to declare locks
by Christopher Faulet
· Mon Nov 13 10:34:01 2017 +0100
2a944ee
BUILD: threads: Rename SPIN/RWLOCK macros using HA_ prefix
by Christopher Faulet
· Tue Nov 07 10:42:54 2017 +0100
62ac84f
CLEANUP: checks: remove return statements in locked functions
by Willy Tarreau
· Sun Nov 05 10:11:13 2017 +0100
73247e0
BUG/MAJOR: threads/checks: wrong use of SPIN_LOCK instead of SPIN_UNLOCK
by Willy Tarreau
· Sun Nov 05 10:06:32 2017 +0100
1cd153a
BUG/MAJOR: threads/checks: add 4 missing spin_unlock() in various functions
by Willy Tarreau
· Sun Nov 05 09:56:14 2017 +0100
f6ba17d
BUG/MAJOR: fix deadlock on healthchecks.
by Emeric Brun
· Thu Nov 02 14:35:27 2017 +0100
16257f6
BUG/MEDIUM: checks/mux: always enable send-polling after connecting
by Willy Tarreau
· Thu Nov 02 15:45:00 2017 +0100
ac59f36
MEDIUM: checks: exclusively use cs_destroy() to release a connection
by Willy Tarreau
· Sun Oct 08 11:10:19 2017 +0200
a553ae9
MEDIUM: connection: replace conn_full_close() with cs_close()
by Willy Tarreau
· Thu Oct 05 18:52:17 2017 +0200
ecdb3fe
MINOR: conn_stream: modify cs_shut{r,w} API to pass the desired mode
by Willy Tarreau
· Thu Oct 05 15:25:48 2017 +0200
4ff3b89
MINOR: connection: make conn_stream users also check for per-stream error flag
by Willy Tarreau
· Mon Oct 16 15:17:17 2017 +0200
9aaf778
MAJOR: connection : Split struct connection into struct connection and struct conn_stream.
by Olivier Houchard
· Wed Sep 13 18:30:23 2017 +0200
53a4766
MEDIUM: connection: start to introduce a mux layer between xprt and data
by Willy Tarreau
· Mon Aug 28 10:53:00 2017 +0200
1bc04c7
BUG/MINOR: threads: Add missing THREAD_LOCAL on static here and there
by Christopher Faulet
· Sun Oct 29 20:14:08 2017 +0100
9f0b458
MEDIUM: threads/server: Use the server lock to protect health check and cli concurrency
by Emeric Brun
· Mon Oct 23 14:39:51 2017 +0200
c2a89a6
MINOR: threads/mailers: Add a lock to protect queues of email alerts
by Christopher Faulet
· Mon Oct 23 15:54:24 2017 +0200
88ce5d1
MINOR: threads/checks: Set the task process_mask when a check is executed
by Christopher Faulet
· Fri Oct 20 15:41:18 2017 +0200
cfda847
MINOR: threads/checks: Add a lock to protect the pid list used by external checks
by Christopher Faulet
· Fri Oct 20 15:40:23 2017 +0200
29f77e8
MEDIUM: threads/server: Add a lock per server and atomically update server vars
by Christopher Faulet
· Thu Jun 08 14:04:45 2017 +0200
c60def8
MAJOR: threads/task: handle multithread on task scheduler
by Emeric Brun
· Wed Sep 27 14:59:38 2017 +0200
31dff9b
MINOR: mailers: Use pools to allocate email alerts and its tcpcheck_rules
by Christopher Faulet
· Mon Oct 23 15:45:20 2017 +0200
0108bb3
MEDIUM: mailers: Init alerts during conf parsing and refactor their processing
by Christopher Faulet
· Fri Oct 20 21:34:32 2017 +0200
de1a75b
BUG/MINOR: mailers: Fix a memory leak when email alerts are released
by Christopher Faulet
· Mon Oct 23 15:38:19 2017 +0200
67957bd
MAJOR: dns: Refactor the DNS code
by Christopher Faulet
· Wed Sep 27 11:00:59 2017 +0200
390485a
BUG/MINOR: checks: Don't forget to release the connection on error case.
by Olivier Houchard
· Tue Oct 24 19:03:30 2017 +0200
402dbc1
MINOR: checks: use conn_full_close() instead of conn_force_close()
by Willy Tarreau
· Thu Oct 05 17:53:13 2017 +0200
1a0545f
REORG: connection: rename CO_FL_DATA_* -> CO_FL_XPRT_*
by Olivier Houchard
· Wed Sep 13 18:30:23 2017 +0200
5a13351
BUG/MEDIUM: log: check result details truncated.
by Emeric Brun
· Thu Oct 19 14:42:30 2017 +0200
9130a96
MINOR: checks: Add a new keyword to specify a SNI when doing SSL checks.
by Olivier Houchard
· Tue Oct 17 17:33:43 2017 +0200
0014912
MEDIUM: checks: do not allocate a permanent connection anymore
by Willy Tarreau
· Wed Oct 04 18:05:01 2017 +0200
6bdcab0
MEDIUM: checks: make tcpcheck_main() indicate if it recycled a connection
by Willy Tarreau
· Wed Oct 04 18:41:00 2017 +0200
f411cce
MINOR: checks: don't create then kill a dummy connection before tcp-checks
by Willy Tarreau
· Wed Oct 04 16:21:19 2017 +0200
be74b88
MINOR: tcp-check: make tcpcheck_main() take a check, not a connection
by Willy Tarreau
· Wed Oct 04 16:22:49 2017 +0200
894c642
BUG/MINOR: tcp-check: don't initialize then break a connection starting with a comment
by Willy Tarreau
· Wed Oct 04 15:58:52 2017 +0200
b398e64
CLEANUP: checks: do not allocate a connection for process checks
by Willy Tarreau
· Wed Oct 04 15:25:38 2017 +0200
d7c3fbd
CLEANUP: checks: don't report report the fork() error twice
by Willy Tarreau
· Wed Oct 04 15:19:26 2017 +0200
1e62e2a
CLEANUP: checks: remove misleading comments and statuses for external process
by Willy Tarreau
· Wed Oct 04 15:07:02 2017 +0200
b5259bf
MINOR: checks: make chk_report_conn_err() take a check, not a connection
by Willy Tarreau
· Wed Oct 04 14:47:29 2017 +0200
c09572f
BUG/MEDIUM: tcp-check: don't call tcpcheck_main() from the I/O handlers!
by Willy Tarreau
· Wed Oct 04 11:58:22 2017 +0200
82feaaf
BUG/MINOR: tcp-check: don't quit with pending data in the send buffer
by Willy Tarreau
· Wed Oct 04 11:38:08 2017 +0200
a3782e7
BUG/MEDIUM: tcp-check: properly indicate polling state before performing I/O
by Willy Tarreau
· Wed Oct 04 08:45:19 2017 +0200
3cad394
CLEANUUP: checks: don't set conn->handle.fd to -1
by Willy Tarreau
· Wed Oct 04 07:48:56 2017 +0200
52a91d3
MEDIUM: check: server states and weight propagation re-work
by Emeric Brun
· Thu Aug 31 14:41:55 2017 +0200
bbae3f0
MEDIUM: connection: remove useless flag CO_FL_DATA_WR_SH
by Willy Tarreau
· Wed Aug 30 09:59:52 2017 +0200
54e917c
MEDIUM: connection: remove useless flag CO_FL_DATA_RD_SH
by Willy Tarreau
· Wed Aug 30 07:35:35 2017 +0200
585744b
REORG/MEDIUM: connection: introduce the notion of connection handle
by Willy Tarreau
· Thu Aug 24 14:31:19 2017 +0200
b68fda4
MINOR: check: Fix checks when using SRV records.
by Olivier Houchard
· Fri Aug 04 18:39:01 2017 +0200
f1d33db
CLEANUP: task: remove all initializations to TICK_ETERNITY after task_new()
by Willy Tarreau
· Mon Jul 24 17:55:20 2017 +0200
201c07f
MAJOR/REORG: dns: DNS resolution task and requester queues
by Baptiste Assmann
· Mon May 22 15:17:15 2017 +0200
4274637
REORG: dns: dns_option structure, storage of hostname_dn
by Baptiste Assmann
· Wed May 03 12:12:02 2017 +0200
f494977
BUG/MINOR: checks: don't send proxy protocol with agent checks
by Willy Tarreau
· Sat May 06 08:45:28 2017 +0200
6e0843c
MINOR: server: Add 'no-agent-check' server keyword.
by Frédéric Lécaille
· Tue Mar 21 16:39:15 2017 +0100
de40d79
CLEANUP: connection: completely remove CO_FL_WAKE_DATA
by Willy Tarreau
· Sat Mar 18 17:40:22 2017 +0100
Next »