Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
28a23617cebbb0c516eeec944e18ba20db72184f
/
src
/
tcpcheck.c
f3f6076
BUILD: tcpcheck: use __fallthrough in check_proxy_tcpcheck()
by Willy Tarreau
· Mon Nov 14 07:10:33 2022 +0100
0d6fb7a
BUG/MINOR: checks: update pgsql regex on auth packet
by Fatih Acar
· Mon Sep 26 17:27:11 2022 +0200
9a8d8a3
BUG/MINOR: smtpchk: SMTP Service check should gracefully close SMTP transaction
by wrightlaw
· Thu Sep 08 16:10:48 2022 +0100
2ec1ffa
MINOR: smtpchk: Update expect rule to fully match replies to EHLO commands
by Christopher Faulet
· Wed Sep 21 14:42:47 2022 +0200
4b5f302
MINOR: http-check: Remove support for headers/body in "option httpchk" version
by Christopher Faulet
· Mon Sep 05 09:05:17 2022 +0200
f611248
BUG/MINOR: tcpcheck: Disable QUICKACK for default tcp-check (with no rule)
by Christopher Faulet
· Tue Aug 30 10:31:15 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
4c8e58d
BUG/MINOR: http-check: Preserve headers if not redefined by an implicit rule
by Christopher Faulet
· Tue Jul 05 15:33:53 2022 +0200
560b8da
CLEANUP: tcpcheck: Remove useless test on the stream-connector in tcpcheck_main
by Christopher Faulet
· Mon May 30 08:37:39 2022 +0200
bde14ad
CLEANUP: check: rename all occurrences of stconn "cs" to "sc"
by Willy Tarreau
· Fri May 27 10:04:04 2022 +0200
cb086c6
REORG: stconn: rename conn_stream.{c,h} to stconn.{c,h}
by Willy Tarreau
· Fri May 27 09:47:12 2022 +0200
19c65a9
CLEANUP: stconn: rename remaining management functions from cs_* to sc_*
by Willy Tarreau
· Fri May 27 08:49:24 2022 +0200
fd9417b
CLEANUP: stconn: rename cs_conn() to sc_conn()
by Willy Tarreau
· Wed May 18 16:23:22 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
7e2e4f8
CLEANUP: tree-wide: remove 25 occurrences of unneeded fcntl.h
by Willy Tarreau
· Tue Apr 26 10:30:35 2022 +0200
070b91b
MEDIUM: conn-stream: Be prepared to fail to attach a cs to a mux
by Christopher Faulet
· Thu Mar 31 19:27:18 2022 +0200
b041b23
MEDIUM: conn-stream: Move remaning flags from CS to endpoint
by Christopher Faulet
· Thu Mar 24 10:27:02 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
9388204
MAJOR: conn-stream: Invert conn-stream endpoint and its context
by Christopher Faulet
· Wed Jan 19 14:56:50 2022 +0100
e222679
MINOR: connection: skip FD-based syscalls for FD-less connections
by Willy Tarreau
· Mon Apr 11 18:04:33 2022 +0200
7750850
CLEANUP: Reapply ist.cocci with `--include-headers-for-types --recursive-includes`
by Tim Duesterhus
· Tue Mar 15 13:11:06 2022 +0100
a631b86
BUILD: tcpcheck: do not declare tcp_check_keywords_register() inline
by Willy Tarreau
· Wed Mar 02 14:54:44 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
cda94ac
MAJOR: stream/conn_stream: Move the stream-interface into the conn-stream
by Christopher Faulet
· Thu Dec 23 17:28:17 2021 +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
dd2d0d8
MEDIUM: conn-stream: Be prepared to use an appctx as conn-stream endpoint
by Christopher Faulet
· Mon Dec 20 09:34:32 2021 +0100
897d612
MEDIUM: conn-stream: No longer access connection field directly
by Christopher Faulet
· Fri Dec 17 17:28:35 2021 +0100
1329f2a
REORG: conn_stream: move conn-stream stuff in dedicated files
by Christopher Faulet
· Thu Dec 16 17:32:56 2021 +0100
9f7ed8a
CLEANUP: Apply ist.cocci
by Tim Duesterhus
· Mon Nov 08 09:05:04 2021 +0100
4c8f75f
CLEANUP: Apply ist.cocci
by Tim Duesterhus
· Sat Nov 06 15:14:44 2021 +0100
14e7f29
MINOR: protocols: replace protocol_by_family() with protocol_lookup()
by Willy Tarreau
· Wed Oct 27 17:41:07 2021 +0200
d16e7dd
BUG/MEDIUM: tcpcheck: Properly catch early HTTP parsing errors
by Christopher Faulet
· Wed Oct 20 13:53:38 2021 +0200
6ff7de5
MINOR: tcpcheck: Support 2-steps args resolution in defaults sections
by Christopher Faulet
· Wed Oct 13 15:18:36 2021 +0200
d535f80
MINOR: rules: add a new function new_act_rule() to allocate act_rules
by Willy Tarreau
· Mon Oct 11 08:49:26 2021 +0200
9310f48
CLEANUP: tree-wide: remove unneeded include time.h in ~20 files
by Willy Tarreau
· Wed Oct 06 16:18:40 2021 +0200
1057bee
REORG: ssl: move ssl_sock_is_ssl() to connection.h and rename it
by Willy Tarreau
· Wed Oct 06 11:38:44 2021 +0200
eaba25d
BUG/MINOR: tcpcheck: Don't use arg list for default proxies during parsing
by Christopher Faulet
· Thu Sep 30 16:22:51 2021 +0200
8a0e5f8
BUG/MINOR: tcpcheck: Improve LDAP response parsing to fix LDAP check
by Christopher Faulet
· Thu Sep 16 16:01:09 2021 +0200
b7bfcb3
MINOR: vars: rename vars_init() to vars_init_head()
by Willy Tarreau
· Tue Aug 31 08:13:25 2021 +0200
47bfd7b
BUG/MINOR: tcpcheck: Properly detect pending HTTP data in output buffer
by Christopher Faulet
· Wed Aug 11 15:46:29 2021 +0200
fa5880b
BUG/MINOR: tcpcheck: Fix numbering of implicit HTTP send/expect rules
by Christopher Faulet
· Fri Jun 25 11:37:45 2021 +0200
0274286
BUG/MAJOR: server: fix deadlock when changing maxconn via agent-check
by Amaury Denoyelle
· Fri Jun 18 11:11:36 2021 +0200
1112430
MINOR: errors: specify prefix "config" for parsing output
by Amaury Denoyelle
· Fri Jun 04 18:22:08 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
147b8c9
MINOIR: checks/trace: Register a new trace source with its events
by Christopher Faulet
· Sat Apr 10 09:00:38 2021 +0200
b41a6e9
MINOR: fd: move .linger_risk into fdtab[].state
by Willy Tarreau
· Tue Apr 06 17:49:19 2021 +0200
6922e55
CLEANUP: tcpcheck: use pool_zalloc() instead of pool_alloc+memset
by Willy Tarreau
· Mon Mar 22 21:11:45 2021 +0100
1b3c931
MEDIUM: connections: Introduce a new XPRT method, start().
by Olivier Houchard
· Fri Mar 05 23:37:48 2021 +0100
cd03be7
BUG/MINOR: tcpcheck: Fix double free on error path when parsing tcp/http-check
by Christopher Faulet
· Fri Mar 12 12:00:14 2021 +0100
24ec943
BUG/MINOR: tcpcheck: Update .health threshold of agent inside an agent-check
by Christopher Faulet
· Fri Mar 12 09:06:07 2021 +0100
0182516
CLEANUP: config: make the cfg_keyword parsers take a const for the defproxy
by Willy Tarreau
· Tue Mar 09 09:53:46 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
b1d19ea
CLEANUP: tcpcheck: Remove a useless test on port variable
by Christopher Faulet
· Fri Feb 12 16:09:13 2021 +0100
54fa7e3
BUG/MINOR: tcpcheck: proxy_parse_*check*() must take a const for the defproxy
by Willy Tarreau
· Fri Feb 12 12:09:38 2021 +0100
09f2e77
BUG/MINOR: tcpheck: the source list must be a const in dup_tcpcheck_var()
by Willy Tarreau
· Fri Feb 12 08:42:30 2021 +0100
d1ac2b9
MAJOR: htx: Remove the EOM block type and use HTX_FL_EOM instead
by Christopher Faulet
· Wed Dec 02 19:12:22 2020 +0100
42432f3
MINOR: htx: Rename HTX_FL_EOI flag into HTX_FL_EOM
by Christopher Faulet
· Fri Nov 20 17:43:16 2020 +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
8d4977a
BUG/MINOR: tcpcheck: Report a L7OK if the last evaluated rule is a send rule
by Christopher Faulet
· Tue Jan 05 16:56:07 2021 +0100
6d975f0
MINOR: check: do not ignore a connection header for http-check send
by Amaury Denoyelle
· Tue Dec 22 14:08:52 2020 +0100
cad5f5e
MINOR: tcpcheck: Only wait for more payload data on HTTP expect rules
by Christopher Faulet
· Wed Dec 09 18:45:47 2020 +0100
c878f56
BUG/MINOR: tcpcheck: Don't rearm the check timeout on each read
by Christopher Faulet
· Wed Dec 09 19:46:38 2020 +0100
3f52719
BUG/MINOR: http-check: Use right condition to consider HTX message as full
by Christopher Faulet
· Wed Dec 09 19:45:07 2020 +0100
83662b5
MINOR: tcpcheck: Add support of L7OKC on expect rules error-status argument
by Christopher Faulet
· Fri Nov 20 17:47:47 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
bb9fb8b
MINOR: config: Deprecate and ignore tune.chksize global option
by Christopher Faulet
· Wed Nov 25 17:20:57 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
39066c2
MINOR: tcpcheck: Don't handle anymore in-progress send rules in tcpcheck_main
by Christopher Faulet
· Wed Nov 25 13:34:51 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
90eb93f
MINOR: check: report error on incompatible connect proto
by Amaury Denoyelle
· Fri Nov 13 12:34:58 2020 +0100
9b7587a
MINOR: connection: make sockaddr_alloc() take the address to be copied
by Willy Tarreau
· Thu Oct 15 07:32:10 2020 +0200
f717727
BUG/MINOR: tcpcheck: Set socks4 and send-proxy flags before the connect call
by Christopher Faulet
· Fri Oct 02 13:41:55 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
8095876
MINOR: tools: add several PA_O_PORT_* flags in str2sa_range() callers
by Willy Tarreau
· Tue Sep 15 10:30:39 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
8e979fa
BUG/MEDIUM: tcp-checks: always attach the transport before installing the mux
by Willy Tarreau
· Fri Jul 31 08:49:31 2020 +0200
810df06
MEDIUM: htx: Add a flag on a HTX message when no more data are expected
by Christopher Faulet
· Wed Jul 22 16:20:34 2020 +0200
3d52f0f
MINOR: server: Factorize code to deal with reuse of server idle connections
by Christopher Faulet
· Thu Jul 02 15:45:56 2020 +0200
236c93b
MINOR: connection: Set the conncetion target during its initialisation
by Christopher Faulet
· Thu Jul 02 09:19:54 2020 +0200
21ddc74
MINOR: connection: Add a wrapper to mark a connection as private
by Christopher Faulet
· Wed Jul 01 15:26:14 2020 +0200
db6fe69
BUG/MEDIUM: checks: Increment the server's curr_used_conns
by Olivier Houchard
· Sun Jun 28 16:23:09 2020 +0200
47d1718
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Sun Jun 21 21:42:57 2020 +0500
588b314
BUILD: Re-enable -Wimplicit-fallthrough
by Tim Duesterhus
· Fri May 29 14:35:51 2020 +0200
b255105
CLEANUP: include: tree-wide alphabetical sort of include files
by Willy Tarreau
· Tue Jun 09 09:07:15 2020 +0200
36979d9
REORG: include: move the error reporting functions to from log.h to errors.h
by Willy Tarreau
· Fri Jun 05 17:27:29 2020 +0200
51cd595
REORG: check: move tcpchecks away from check.c
by Willy Tarreau
· Fri Jun 05 12:25:38 2020 +0200