Christopher Faulet
871dd82117
BUG/MINOR: tcpcheck: Disable QUICKACK only if data should be sent after connect
...
It is only a real problem for agent-checks when there is no agent string to
send. The condition to disable TCP_QUICKACK was only based on the action
type following the connect one. But it is not always accurate. indeed, for
agent-checks, there is always a SEND action. But if there is no "agent-send"
string defined, nothing is sent. In this case, this adds 200ms of latency
with no reason.
To fix the bug, a flag is now used on the CONNECT action to instruct there
are data that should be sent after the connect. For health-checks, this flag
is set if the action following the connect is a SEND action. For
agent-checks, it is set if an "agent-send" string is defined.
This patch should fix the issue #1836 . It must be backported as far as 2.2.
2022-08-24 11:59:04 +02:00
..
2022-03-30 11:49:59 +02:00
2022-04-25 15:28:21 +02:00
2022-08-17 10:34:00 +02:00
2022-08-23 20:19:11 +02:00
2022-08-03 11:16:35 +02:00
2022-05-27 19:33:35 +02:00
2022-04-19 08:23:30 +02:00
2022-06-23 11:49:09 +02:00
2022-08-22 10:46:13 +02:00
2022-07-15 19:41:26 +02:00
2022-07-29 17:32:05 +02:00
2022-05-20 18:41:55 +02:00
2022-04-26 10:59:48 +02:00
2022-04-26 10:59:48 +02:00
2022-08-22 13:09:29 +02:00
2022-05-27 19:33:34 +02:00
2022-08-24 11:59:04 +02:00
2022-08-17 10:45:22 +02:00
2022-08-18 18:16:36 +02:00
2022-07-01 19:15:15 +02:00
2022-04-25 19:42:43 +02:00
2022-06-07 12:04:12 +02:00
2022-07-15 19:43:10 +02:00
2022-08-09 08:51:08 +02:00
2022-08-03 10:30:07 +02:00
2022-05-06 18:13:36 +02:00
2022-07-25 15:47:15 +02:00
2022-07-25 15:47:15 +02:00
2022-07-25 15:47:15 +02:00
2022-07-15 20:16:30 +02:00
2022-07-15 20:16:30 +02:00
2022-07-01 19:15:14 +02:00
2022-05-16 16:00:26 +02:00
2022-03-21 08:30:47 +01:00
2022-08-10 17:25:23 +02:00
2022-04-13 15:10:16 +02:00
2022-08-06 17:12:51 +02:00
2022-04-15 16:22:33 +02:00
2022-05-27 19:33:35 +02:00
2022-06-22 18:33:27 +02:00
2022-05-27 19:33:35 +02:00
2022-05-24 15:38:05 +02:00
2022-07-07 09:35:58 +02:00
2022-08-18 16:13:33 +02:00
2022-05-30 09:59:26 +02:00
2022-08-18 16:13:33 +02:00
2022-07-22 17:51:53 +02:00
2022-05-17 11:40:33 +02:00
2022-07-01 19:15:14 +02:00
2022-04-12 08:40:38 +02:00
2022-04-01 17:29:06 +02:00
2022-04-12 08:30:08 +02:00
2022-08-03 15:04:18 +02:00
2022-07-06 09:37:43 +02:00
2022-08-17 15:52:17 +02:00
2022-08-06 17:12:51 +02:00
2022-04-08 10:12:59 +02:00
2022-07-10 14:13:48 +02:00
2022-08-18 16:13:33 +02:00
2022-04-25 19:26:26 +02:00
2022-07-06 17:54:03 +02:00
2022-02-28 17:16:55 +01:00
2022-04-22 15:45:47 +02:00
2022-07-15 20:16:30 +02:00
2022-08-19 16:09:06 +02:00
2022-04-12 08:19:33 +02:00
2022-06-08 15:28:38 +02:00
2022-05-27 19:33:35 +02:00
2022-03-22 09:25:52 +01:00
2022-08-06 17:12:51 +02:00
2022-07-08 16:37:31 +02:00
2022-08-19 08:03:53 +02:00
2022-05-27 19:33:35 +02:00
2022-08-19 12:02:29 +02:00
2022-07-27 12:13:56 +02:00
2022-08-06 17:12:51 +02:00
2022-08-01 11:59:46 +02:00
2022-05-27 19:33:35 +02:00
2022-08-23 20:19:11 +02:00
2022-08-17 10:34:00 +02:00
2022-06-23 11:49:09 +02:00
2022-07-25 16:11:11 +02:00
2022-05-20 18:39:43 +02:00
2022-05-20 18:39:43 +02:00
2022-05-20 18:39:43 +02:00
2022-05-20 18:39:43 +02:00
2022-05-20 18:39:43 +02:00
2022-08-03 11:44:34 +02:00
2022-08-17 11:04:53 +02:00
2022-05-30 14:30:05 +02:00
2022-03-04 08:58:32 +01:00
2022-07-30 10:00:59 +02:00
2022-08-03 14:27:20 +02:00
2022-07-29 17:32:05 +02:00
2022-07-29 17:32:05 +02:00
2022-08-23 17:40:09 +02:00
2022-08-11 11:11:20 +02:00
2022-08-12 12:19:26 +02:00
2022-08-05 15:27:14 +02:00
2022-08-20 19:08:31 +02:00
2022-08-19 18:31:59 +02:00
2022-08-11 19:12:12 +02:00
2022-04-25 20:32:15 +02:00
2022-08-24 11:28:29 +02:00
2022-08-12 11:18:46 +02:00
2022-05-27 19:33:34 +02:00
2022-08-03 11:28:52 +02:00
2022-03-11 07:25:11 +01:00
2022-08-12 15:40:19 +02:00
2022-07-15 19:58:06 +02:00
2022-07-15 19:58:06 +02:00
2022-07-25 16:11:11 +02:00
2022-08-19 19:58:53 +02:00
2022-06-20 17:27:49 +02:00
2022-05-27 19:33:35 +02:00
2022-08-06 17:45:40 +02:00
2022-05-17 11:40:33 +02:00
2022-06-10 15:12:21 +02:00
2022-08-11 13:59:13 +02:00
2022-08-17 10:52:15 +02:00
2022-07-15 20:16:30 +02:00
2022-07-15 19:43:10 +02:00
2022-05-27 19:33:35 +02:00
2022-06-13 08:04:10 +02:00
2022-08-24 05:23:13 +02:00
2022-08-24 11:59:04 +02:00
2022-08-06 16:45:26 +02:00
2022-08-01 11:59:15 +02:00
2022-06-08 15:28:38 +02:00
2022-07-01 19:26:35 +02:00
2022-06-23 11:49:09 +02:00
2022-08-23 17:55:02 +02:00