Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
a977355aa1f9636d0f8fe2af811915d33c99260e
/
src
/
check.c
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
b26122b
CLEANUP: check: fix get_check_status_info declaration
by William Dauchy
· Sun Feb 14 22:26:23 2021 +0100
c943799
MEDIUM: resolvers/dns: split dns.c into dns.c and resolvers.c
by Emeric Brun
· Fri Feb 12 19:42:55 2021 +0100
d30e9a1
MINOR: resolvers: rework prototype suffixes to split resolving and dns.
by Emeric Brun
· Wed Dec 23 18:49:16 2020 +0100
08622d3
MINOR: resolvers: renames some resolvers specific types to not use dns prefix
by Emeric Brun
· Wed Dec 23 17:41:43 2020 +0100
f430090
CLEANUP: check: fix some typo in comments
by William Dauchy
· Sat Feb 06 20:47:50 2021 +0100
4858fb2
MEDIUM: check: align agentaddr and agentport behaviour
by William Dauchy
· Wed Feb 03 22:30:09 2021 +0100
1c921cd
BUG/MINOR: check: consitent way to set agentaddr
by William Dauchy
· Wed Feb 03 22:30:08 2021 +0100
69f118d
MEDIUM: check: remove checkport checkaddr flag
by William Dauchy
· Wed Feb 03 22:30:07 2021 +0100
7aa3271
MINOR: checks: Add function to get the result code corresponding to a status
by Christopher Faulet
· Mon Feb 01 13:11:50 2021 +0100
025fc71
MINOR: checks: export a few functions that appear often in trace dumps
by Willy Tarreau
· Fri Jan 29 12:35:24 2021 +0100
8f10042
BUG/MEDIUM: tcpcheck: Don't destroy connection in the wake callback context
by Christopher Faulet
· Mon Jan 18 15:47:03 2021 +0100
6ecd593
BUG/MINOR: check: Don't perform any check on servers defined in a frontend
by Christopher Faulet
· Tue Jan 12 17:29:45 2021 +0100
f7e4a6f
MINOR: checks: don't call conn_cond_update_polling() anymore
by Willy Tarreau
· Fri Dec 11 11:11:06 2020 +0100
30bd4ef
MINOR: checks: use cs_drain_and_close() instead of draining the connection
by Willy Tarreau
· Fri Dec 11 11:09:29 2020 +0100
1e527cb
MINOR: check: Always increment check health counter on CONPASS
by Christopher Faulet
· Fri Nov 20 18:13:02 2020 +0100
97b7bdf
REORG: tcpcheck: Move check option parsing functions based on tcp-check
by Christopher Faulet
· Fri Nov 27 09:58:02 2020 +0100
b1bb069
MINOR: tcpcheck: Don't handle anymore in-progress connect rules in tcpcheck_main
by Christopher Faulet
· Wed Nov 25 16:47:30 2020 +0100
b381a50
BUG/MAJOR: tcpcheck: Allocate input and output buffers from the buffer pool
by Christopher Faulet
· Wed Nov 25 13:47:00 2020 +0100
1faf18a
BUG/MINOR: tcpcheck: Don't forget to reset tcp-check flags on new kind of check
by Christopher Faulet
· Wed Nov 25 16:43:12 2020 +0100
fc633b6
CLEANUP: config: Return ERR_NONE from config callbacks instead of 0
by Christopher Faulet
· Fri Nov 06 15:24:23 2020 +0100
c751b45
BUG/MINOR: tcpcheck: Don't warn on unused rules if check option is after
by Christopher Faulet
· Fri Nov 13 08:55:57 2020 +0100
7c14890
MINOR: check: report error on incompatible proto
by Amaury Denoyelle
· Fri Nov 13 12:34:57 2020 +0100
0519bd4
BUG/MEDIUM: check: reuse srv proto only if using same mode
by Amaury Denoyelle
· Fri Nov 13 12:34:56 2020 +0100
5e29376
BUG/MINOR: checks: Report a socket error before any connection attempt
by Christopher Faulet
· Mon Oct 26 11:10:49 2020 +0100
c3914d4
MEDIUM: proxy: replace proxy->state with proxy->disabled
by Willy Tarreau
· Thu Sep 24 08:39:22 2020 +0200
65ec4e3
MEDIUM: tools: make str2sa_range() check that the protocol has ->connect()
by Willy Tarreau
· Wed Sep 16 19:17:08 2020 +0200
5fc9328
MINOR: tools: make str2sa_range() directly return the protocol
by Willy Tarreau
· Wed Sep 16 18:25:03 2020 +0200
a93e5c7
MINOR: tools: make str2sa_range() optionally return the fd
by Willy Tarreau
· Tue Sep 15 14:01:16 2020 +0200
3281993
MINOR: tools: add several PA_O_* flags in str2sa_range() callers
by Willy Tarreau
· Fri Sep 04 15:53:16 2020 +0200
8b0fa8f
MEDIUM: config: remove all checks for missing/invalid ports/ranges
by Willy Tarreau
· Tue Sep 15 11:52:23 2020 +0200
7f96a84
MEDIUM: tools: make str2sa_range() validate callers' port specifications
by Willy Tarreau
· Tue Sep 15 11:12:44 2020 +0200
cd3a5591
MINOR: tools: make str2sa_range() take more options than just resolve
by Willy Tarreau
· Fri Sep 04 15:30:46 2020 +0200
e52b6e5
CLEANUP: Do not use a fixed type for 'sizeof' in 'calloc'
by Tim Duesterhus
· Sat Sep 12 20:26:43 2020 +0200
2867b40
BUG/MEDIUM: checks: Fix off-by-one in allocation of SMTP greeting cmd
by Tim Duesterhus
· Fri Jun 12 15:58:48 2020 +0200
588b314
BUILD: Re-enable -Wimplicit-fallthrough
by Tim Duesterhus
· Fri May 29 14:35:51 2020 +0200
7c18b54
REORG: dgram: rename proto_udp to dgram
by Willy Tarreau
· Thu Jun 11 09:23:02 2020 +0200
b255105
CLEANUP: include: tree-wide alphabetical sort of include files
by Willy Tarreau
· Tue Jun 09 09:07:15 2020 +0200
bcc6733
REORG: check: extract the external checks from check.{c,h}
by Willy Tarreau
· Fri Jun 05 15:31:31 2020 +0200
51cd595
REORG: check: move tcpchecks away from check.c
by Willy Tarreau
· Fri Jun 05 12:25:38 2020 +0200
cee013e
REORG: check: move the e-mail alerting code to mailers.c
by Willy Tarreau
· Fri Jun 05 11:40:38 2020 +0200
6be7849
REORG: include: move cfgparse.h to haproxy/cfgparse.h
by Willy Tarreau
· Fri Jun 05 00:00:29 2020 +0200
1e56f92
REORG: include: move server.h to haproxy/server{,-t}.h
by Willy Tarreau
· Thu Jun 04 23:20:13 2020 +0200
Next »