bind9/lib/isc/win32
Ondřej Surý caa5b6548a 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 16:37:57 +01:00
..
include Change the isc_thread_self() return type to uintptr_t 2021-02-25 16:21:10 +01:00
.dir-locals.el Add emacs .dir-locals.el settings for flycheck mode 2018-12-19 17:03:37 +01:00
condition.c Change the isc_thread_self() return type to uintptr_t 2021-02-25 16:21:10 +01:00
dir.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
DLLMain.c Call isc__initialize()/isc__shutdown() from win32 DllMain 2021-03-01 14:24:57 +01:00
errno.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
errno2result.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
errno2result.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
file.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
fsaccess.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
interfaceiter.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
ipv6.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
libgen.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
libisc.def.exclude Remove unused obsolete isc_hash_* function, and just keep the FNV-1a version 2018-04-04 23:12:14 +02:00
libisc.def.in Fix TCPDNS and TLSDNS timers 2021-03-18 16:37:57 +01:00
libisc.vcxproj.filters.in Add isc_trampoline API to have simple accounting around threads 2021-02-25 16:21:10 +01:00
libisc.vcxproj.in Add isc_trampoline API to have simple accounting around threads 2021-02-25 16:21:10 +01:00
libisc.vcxproj.user Convert *.vcxproj.user to CRLF line endings 2019-03-08 18:01:48 +01:00
meminfo.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
net.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
netdb.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
ntgroups.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
ntpaths.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
once.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
os.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
pk11_api.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
resource.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
socket.c Reformat sources using clang-format-11 2020-12-08 18:36:23 +01:00
stdio.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
stdtime.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
syslog.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
syslog.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
thread.c Add isc_trampoline API to have simple accounting around threads 2021-02-25 16:21:10 +01:00
time.c Add ISO time stamps to the microsecond 2020-09-30 23:56:18 +10:00
unistd.h update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
win32os.c update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00