- Fix to reset the tcp-timeout before applying a load based

reduction. Thanks to Qifan Zhang, Palo Alto Networks, for the
  report.
This commit is contained in:
W.C.A. Wijngaards
2026-05-27 13:17:35 +02:00
parent fbbe95ba5b
commit d2e1ea7d19
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -10,6 +10,9 @@
- Fix that msgencode insert_query has the correct assertion,
for a local_alias. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
- Fix to reset the tcp-timeout before applying a load based
reduction. Thanks to Qifan Zhang, Palo Alto Networks, for the
report.
26 May 2026: Wouter
- Fix for mesh new client and mesh new callback to rollback the
+2
View File
@@ -2940,6 +2940,8 @@ setup_tcp_handler(struct comm_point* c, int fd, int cur, int max)
c->tcp_is_reading = 1;
c->tcp_byte_count = 0;
c->tcp_keepalive = 0;
/* reset to configured value before applying load-based reduction */
c->tcp_timeout_msec = c->tcp_parent->tcp_timeout_msec;
/* if more than half the tcp handlers are in use, use a shorter
* timeout for this TCP connection, we need to make space for
* other connections to be able to get attention */