Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
1a60a663066b6913a6a8561a4155efc775013205
/
src
/
check.c
8bca3cc
MEDIUM: checks: Stop scheduling healthchecks during stopping stage
by Christopher Faulet
· Tue May 16 18:07:51 2023 +0200
c7b9308
BUG/MINOR: clock: automatically adjust the internal clock with the boot time
by Willy Tarreau
· Tue May 16 19:19:36 2023 +0200
8e978a0
BUG/MINOR: checks: postpone the startup of health checks by the boot time
by Willy Tarreau
· Wed May 17 09:01:22 2023 +0200
cb76030
CLEANUP: check; Remove some useless assignments to NULL
by Christopher Faulet
· Wed May 17 09:25:32 2023 +0200
b93758c
MINOR: checks: make sure spread-checks is used also at boot time
by Willy Tarreau
· Wed May 17 07:39:57 2023 +0200
dcbc2d2
MINOR: checks/event_hdl: SERVER_CHECK event
by Aurelien DARRAGON
· Thu Mar 30 10:19:08 2023 +0200
69530f5
MEDIUM: clock: replace timeval "now" with integer "now_ns"
by Willy Tarreau
· Fri Apr 28 09:16:15 2023 +0200
eed5da1
MINOR: clock: do not use now.tv_sec anymore
by Willy Tarreau
· Fri Apr 28 07:39:44 2023 +0200
e8e4712
MINOR: checks: use a nanosecond counters instead of timeval for checks->start
by Willy Tarreau
· Fri Apr 28 14:39:50 2023 +0200
76d343d
MINOR: time: replace calls to tv_ms_elapsed() with a linear subtract
by Willy Tarreau
· Thu Apr 27 09:21:20 2023 +0200
1746b56
MINOR: server: change srv_op_st_chg_cause storage type
by Aurelien DARRAGON
· Tue Apr 04 10:17:40 2023 +0200
f3b48a8
MINOR: server: srv_append_status refacto
by Aurelien DARRAGON
· Fri Apr 14 18:07:09 2023 +0200
32483ec
MINOR: server: correctly free servers on deinit()
by Aurelien DARRAGON
· Thu Mar 09 11:56:14 2023 +0100
81b7c95
MINOR: check: use atomic for s->consecutive_errors
by Aurelien DARRAGON
· Wed Dec 07 14:27:42 2022 +0100
7d541a9
BUG/MINOR: checks: restore legacy on-error fastinter behavior
by Aurelien DARRAGON
· Wed Dec 07 12:17:24 2022 +0100
9e080bf
BUG/MINOR: checks: make sure fastinter is used even on forced transitions
by Willy Tarreau
· Tue Dec 06 18:20:56 2022 +0100
a56798e
BUG/MEDIUM: checks: do not reschedule a possibly running task on state change
by Willy Tarreau
· Tue Dec 06 11:38:18 2022 +0100
36a7343
BUILD: check: use __fallthrough in __health_adjust()
by Willy Tarreau
· Mon Nov 14 07:31:36 2022 +0100
d114f4a
MEDIUM: checks: spread the checks load over random threads
by Willy Tarreau
· Wed Oct 12 20:58:18 2022 +0200
a840b4a
MINOR: checks: use the lighter PRNG for spread checks
by Willy Tarreau
· Wed Oct 12 21:48:17 2022 +0200
871dd82
BUG/MINOR: tcpcheck: Disable QUICKACK only if data should be sent after connect
by Christopher Faulet
· Wed Aug 24 11:38:03 2022 +0200
3b64a28
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Fri Jul 29 22:26:53 2022 +0500
eed3911
MINOR: task: replace task_set_affinity() with task_set_thread()
by Willy Tarreau
· Wed Jun 15 17:20:16 2022 +0200
3ccb14d
MINOR: thread: get rid of MAX_THREADS_MASK
by Willy Tarreau
· Tue Jun 14 11:18:40 2022 +0200
e4b4019
CLEANUP: check: Remove useless tests on check's stream-connector
by Christopher Faulet
· Mon Jun 13 07:59:46 2022 +0200
4f1825c
BUG/MINOR: checks: Properly handle email alerts in trace messages
by Christopher Faulet
· Wed Jun 08 09:12:58 2022 +0200
bde14ad
CLEANUP: check: rename all occurrences of stconn "cs" to "sc"
by Willy Tarreau
· Fri May 27 10:04:04 2022 +0200
19c65a9
CLEANUP: stconn: rename remaining management functions from cs_* to sc_*
by Willy Tarreau
· Fri May 27 08:49:24 2022 +0200
a0b58b5
CLEANUP: stconn: rename cs_{new,create,free,destroy}_* to sc_*
by Willy Tarreau
· Fri May 27 08:33:53 2022 +0200
462b989
CLEANUP: stconn: rename cs_conn_*() to sc_conn_*()
by Willy Tarreau
· Wed May 18 18:06:53 2022 +0200
fd9417b
CLEANUP: stconn: rename cs_conn() to sc_conn()
by Willy Tarreau
· Wed May 18 16:23:22 2022 +0200
ea27f48
CLEANUP: stconn: rename cs_{check,strm,strm_task} to sc_strm_*
by Willy Tarreau
· Wed May 18 16:10:52 2022 +0200
2f2318d
MEDIUM: stconn: merge the app_ops and the data_cb fields
by Willy Tarreau
· Wed May 18 10:17:16 2022 +0200
f3ae34b
MINOR: check: export wake_srv_chk()
by Willy Tarreau
· Wed May 18 09:11:52 2022 +0200
cb04166
CLEANUP: stconn: tree-wide rename stream connector flags CS_FL_* to SC_FL_*
by Willy Tarreau
· Tue May 17 19:44:42 2022 +0200
4596fe2
CLEANUP: conn_stream: tree-wide rename to stconn (stream connector)
by Willy Tarreau
· Tue May 17 19:07:51 2022 +0200
b605c42
CLEANUP: conn_stream: rename the stream endpoint flags CS_EP_* to SE_FL_*
by Willy Tarreau
· Tue May 17 17:04:55 2022 +0200
0cfcc40
CLEANUP: conn_stream: apply cs_endp_flags.cocci tree-wide
by Willy Tarreau
· Tue May 17 16:10:17 2022 +0200
c95eaef
MEDIUM: check: Use the CS to handle subscriptions for read/write events
by Christopher Faulet
· Wed May 18 15:57:15 2022 +0200
361417f
REORG: check: Rename and export I/O callback function
by Christopher Faulet
· Wed May 18 14:50:30 2022 +0200
08c8f8e
MEDIUM: check: No longer shutdown the connection in .wake callback function
by Christopher Faulet
· Wed May 18 14:35:49 2022 +0200
6d781f6
BUG/MINOR: check: Reinit the buffer wait list at the end of a check
by Christopher Faulet
· Wed May 18 14:24:43 2022 +0200
a6c4a48
BUG/MEDIUM: conn-stream: Don't erase endpoint flags on reset
by Christopher Faulet
· Thu Apr 28 18:25:24 2022 +0200
7e2e4f8
CLEANUP: tree-wide: remove 25 occurrences of unneeded fcntl.h
by Willy Tarreau
· Tue Apr 26 10:30:35 2022 +0200
acef5e2
MINOR: tree-wide: always consider EWOULDBLOCK in addition to EAGAIN
by Willy Tarreau
· Mon Apr 25 20:32:15 2022 +0200
eb50c01
MINOR: conn-stream: Make cs_detach_* private and use cs_destroy() from outside
by Christopher Faulet
· Thu Apr 21 14:22:53 2022 +0200
ff022a2
CLEANUP: conn-stream: Rename cs_conn_close() and cs_conn_drain_and_close()
by Christopher Faulet
· Thu Apr 21 08:38:54 2022 +0200
177a0e6
MEDIUM: check: Use a new conn-stream for each health-check run
by Christopher Faulet
· Tue Apr 12 17:47:07 2022 +0200
6b0a0fb
CLEANUP: tree-wide: Remove any ref to stream-interfaces
by Christopher Faulet
· Mon Apr 04 11:29:28 2022 +0200
69ef6c9
MINOR: conn-stream: Rename CS functions dedicated to connections
by Christopher Faulet
· Thu Mar 31 14:20:00 2022 +0200
b041b23
MEDIUM: conn-stream: Move remaning flags from CS to endpoint
by Christopher Faulet
· Thu Mar 24 10:27:02 2022 +0100
9ec2f4d
MAJOR: conn-stream: Share endpoint struct between the CS and the mux/applet
by Christopher Faulet
· Wed Mar 23 15:15:29 2022 +0100
a9e8b39
MEDIUM: conn-stream: Pre-allocate endpoint to create CS from muxes and applets
by Christopher Faulet
· Wed Mar 23 11:01:09 2022 +0100
b669d68
MEDIUM: conn-stream: Be able to pass endpoint to create a conn-stream
by Christopher Faulet
· Tue Mar 22 18:37:19 2022 +0100
07ecfc5
MEDIUM: connection: panic when calling FD-specific functions on FD-less conns
by Willy Tarreau
· Mon Apr 11 18:07:03 2022 +0200
7d098be
MEDIUM: check: do not auto configure SSL/PROXY for dynamic servers
by Amaury Denoyelle
· Wed Mar 09 14:20:10 2022 +0100
693b23b
MEDIUM: tree-wide: Use unsafe conn-stream API when it is relevant
by Christopher Faulet
· Mon Feb 28 09:09:05 2022 +0100
54e85cb
MAJOR: check: Use a persistent conn-stream for health-checks
by Christopher Faulet
· Thu Jan 06 08:46:56 2022 +0100
f835dea
MEDIUM: conn_stream: Add a pointer to the app object into the conn-stream
by Christopher Faulet
· Tue Dec 21 14:35:17 2021 +0100
0256da1
MINOR: connection: Be prepared to handle conn-stream with no connection
by Christopher Faulet
· Wed Dec 15 09:50:17 2021 +0100
95d3eaf
BUILD: checks: fix inlining issue on set_srv_agent_[addr,port}
by Willy Tarreau
· Fri Jan 28 09:16:47 2022 +0100
a89c191
BUG/MEDIUM: checks: fix the starting thread for external checks
by Willy Tarreau
· Wed Oct 20 18:43:30 2021 +0200
dfd10ab
MINOR: proxy: Introduce proxy flags to replace disabled bitfield
by Christopher Faulet
· Wed Oct 06 14:24:19 2021 +0200
b4e3476
REORG: thread/sched: move the last dynamic thread_info to thread_ctx
by Willy Tarreau
· Thu Sep 30 19:02:18 2021 +0200
beeabf5
MINOR: task: provide 3 task_new_* wrappers to simplify the API
by Willy Tarreau
· Fri Oct 01 18:23:30 2021 +0200
29d1ac1
REORG: server: move slowstart init outside of checks
by Amaury Denoyelle
· Tue Sep 21 11:51:29 2021 +0200
bc2ebfa
MEDIUM: server: extend refcount for all servers
by Amaury Denoyelle
· Wed Aug 25 15:34:53 2021 +0200
26cb834
BUG/MEDIUM: check: fix leak on agent-check purge
by Amaury Denoyelle
· Tue Aug 10 16:23:49 2021 +0200
6d7fc44
BUG/MINOR: check: fix leak on add dynamic server with agent-check error
by Amaury Denoyelle
· Tue Aug 10 16:22:51 2021 +0200
25fe103
BUG/MINOR: check: do not reset check flags on purge
by Amaury Denoyelle
· Tue Aug 10 16:21:55 2021 +0200
9ba34ae
BUG/MINOR: check: test if server is not null in purge
by Amaury Denoyelle
· Mon Aug 09 15:09:17 2021 +0200
b65f4ca
MEDIUM: server: implement agent check for dynamic servers
by Amaury Denoyelle
· Wed Aug 04 11:33:14 2021 +0200
2fc4d39
MEDIUM: server: implement check for dynamic servers
by Amaury Denoyelle
· Thu Jul 22 16:04:59 2021 +0200
9ecee0f
MINOR: check: enable safe keywords for dynamic servers
by Amaury Denoyelle
· Fri Jul 23 16:34:58 2021 +0200
b33a0ab
MEDIUM: check: implement check deletion for dynamic servers
by Amaury Denoyelle
· Thu Jul 29 15:51:45 2021 +0200
403dce8
MINOR: check: do not increment global maxsock at runtime
by Amaury Denoyelle
· Thu Jul 29 15:39:43 2021 +0200
3c2ab1a
MINOR: check: export check init functions
by Amaury Denoyelle
· Thu Jul 22 16:04:40 2021 +0200
f2c27a5
MINOR: check: allocate default check ruleset for every backends
by Amaury Denoyelle
· Fri Jul 23 15:46:46 2021 +0200
acff309
BUG/MINOR: check: fix the condition to validate a port-less server
by Willy Tarreau
· Thu Jul 22 11:06:41 2021 +0200
dfee217
BUG/MINOR: checks: return correct error code for srv_parse_agent_check
by Dirkjan Bussink
· Fri Jun 18 19:57:49 2021 +0000
a057045
MINOR: server: replace the pendconns-related stuff with a struct queue
by Willy Tarreau
· Fri Jun 18 09:30:30 2021 +0200
7f3c1df
MINOR: proxy: replace the pendconns-related stuff with a struct queue
by Willy Tarreau
· Fri Jun 18 09:22:21 2021 +0200
1112430
MINOR: errors: specify prefix "config" for parsing output
by Amaury Denoyelle
· Fri Jun 04 18:22:08 2021 +0200
ea86083
BUG/MINOR: checks: Reschedule check on observe mode only if fastinter is set
by Christopher Faulet
· Fri May 07 11:45:26 2021 +0200
92017a3
BUG/MINOR: checks: Handle synchronous connect when a tcpcheck is started
by Christopher Faulet
· Thu May 06 16:01:18 2021 +0200
b2be9a1
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Sat Apr 24 13:25:42 2021 +0500
2b71810
CLEANUP: lists/tree-wide: rename some list operations to avoid some confusion
by Willy Tarreau
· Wed Apr 21 07:32:39 2021 +0200
0f1fc23
BUG/MINOR: checks: Set missing id to the dummy checks frontend
by Christopher Faulet
· Fri Apr 16 10:49:07 2021 +0200
147b8c9
MINOIR: checks/trace: Register a new trace source with its events
by Christopher Faulet
· Sat Apr 10 09:00:38 2021 +0200
4781b15
CLEANUP: atomic/tree-wide: replace single increments/decrements with inc/dec
by Willy Tarreau
· Tue Apr 06 13:53:36 2021 +0200
d68d4f1
MEDIUM: dynbuf: remove last usages of b_alloc_margin()
by Willy Tarreau
· Mon Mar 22 14:44:31 2021 +0100
76e10e7
MINOR: server: prepare parsing for dynamic servers
by Amaury Denoyelle
· Mon Mar 08 17:08:01 2021 +0100
144f84a
MEDIUM: task: extend the state field to 32 bits
by Willy Tarreau
· Tue Mar 02 16:09:26 2021 +0100
dcf753a
CLEANUP: Use the ist() macro whenever possible
by Tim Duesterhus
· Thu Mar 04 17:31:47 2021 +0100
61cfdf4
CLEANUP: tree-wide: replace free(x);x=NULL with ha_free(&x)
by Willy Tarreau
· Sat Feb 20 10:46:51 2021 +0100
4d77bbf
MINOR: dynbuf: pass offer_buffers() the number of buffers instead of a threshold
by Willy Tarreau
· Sat Feb 20 12:02:46 2021 +0100
90f366b
MINOR: dynbuf: use regular lists instead of mt_lists for buffer_wait
by Willy Tarreau
· Sat Feb 20 11:49:49 2021 +0100
e8e5091
MINOR: dynbuf: make the buffer wait queue per thread
by Willy Tarreau
· Sat Feb 20 11:38:56 2021 +0100
4e9df27
BUG/MEDIUM: checks: don't needlessly take the server lock in health_adjust()
by Willy Tarreau
· Wed Feb 17 15:20:19 2021 +0100
64ba5eb
BUG/MINOR: checks: properly handle wrapping time in __health_adjust()
by Willy Tarreau
· Wed Feb 17 15:15:15 2021 +0100
Next »