Ondřej Surý
a017ba2615
Fix TCPDNS and TLSDNS timers
...
After the TCPDNS refactoring the initial and idle timers were broken and
only the tcp-initial-timeout was always applied on the whole TCP
connection.
This broke any TCP connection that took longer than tcp-initial-timeout,
most often this would affect large zone AXFRs.
This commit changes the timeout logic in this way:
* On TCP connection accept the tcp-initial-timeout is applied
and the timer is started
* When we are processing and/or sending any DNS message the timer is
stopped
* When we stop processing all DNS messages, the tcp-idle-timeout
is applied and the timer is started again
2021-03-18 15:16:13 +01:00
..
2021-03-18 15:16:13 +01:00
2021-03-18 15:16:13 +01:00
2021-02-26 21:14:17 +01:00
2021-03-04 15:29:44 +01:00
2020-12-08 19:34:05 +01:00
2021-03-18 15:16:13 +01:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-10-30 09:12:50 +01:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2021-02-26 21:14:17 +01:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2021-03-02 08:50:29 +01:00
2021-02-26 21:19:33 +01:00
2020-09-14 16:50:58 -07:00
2021-02-26 21:14:17 +01:00
2020-09-14 16:50:58 -07:00
2021-02-26 17:18:06 +01:00
2021-02-26 21:19:33 +01:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2021-02-26 16:14:50 +01:00
2021-02-26 16:14:50 +01:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-12-09 10:46:16 +01:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-12-08 19:34:05 +01:00
2020-12-08 19:34:05 +01:00
2020-12-09 10:46:16 +01:00
2021-02-26 21:14:17 +01:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-12-09 10:46:16 +01:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2021-02-26 21:14:17 +01:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2021-02-26 17:18:06 +01:00
2021-03-18 10:15:44 +11:00
2020-09-14 16:50:58 -07:00
2021-02-26 21:14:17 +01:00
2021-02-26 21:14:17 +01:00
2020-09-14 16:50:58 -07:00
2021-01-25 15:28:09 +01:00
2020-09-14 16:50:58 -07:00