bind9/lib
Matthijs Mekking 6c5ff94218 Don't increment network error stats on UV_EOF
When networking statistics was added to the netmgr (in commit
5234a8e00a), two lines were added that
increment the 'STATID_RECVFAIL' statistic: One if 'uv_read_start'
fails and one at the end of the 'read_cb'.  The latter happens
if 'nread < 0'.

According to the libuv documentation, I/O read callbacks (such as for
files and sockets) are passed a parameter 'nread'. If 'nread' is less
than 0, there was an error and 'UV_EOF' is the end of file error, which
you may want to handle differently.

In other words, we should not treat EOF as a RECVFAIL error.
2020-10-20 10:57:16 +02:00
..
bind9 Fix function overrides in unit tests on macOS 2020-09-28 09:09:21 +02:00
dns Restore the dns_message_reset() call before the dns_dispatch_getnext() 2020-10-08 10:55:35 +11:00
irs Fix function overrides in unit tests on macOS 2020-09-28 09:09:21 +02:00
isc Don't increment network error stats on UV_EOF 2020-10-20 10:57:16 +02:00
isccc Fix function overrides in unit tests on macOS 2020-09-28 09:09:21 +02:00
isccfg Fix function overrides in unit tests on macOS 2020-09-28 09:09:21 +02:00
ns Simplify the EDNS buffer size logic for DNS Flag Day 2020 2020-10-05 16:21:21 +02:00
samples The dns_message_create() cannot fail, change the return to void 2020-09-29 08:22:08 +02:00
win32/bindevt update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
.gitignore Provide unit test driver 2020-05-21 12:13:01 +02:00
Makefile.am Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
unit-test-driver.sh.in Provide unit test driver 2020-05-21 12:13:01 +02:00