bind9/lib
Matthijs Mekking 5c0b5b64e5 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.

(cherry picked from commit 6c5ff94218)
2020-10-20 14:05:09 +00:00
..
bind9 update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
dns Restore the dns_message_reset() call before the dns_dispatch_getnext() 2020-10-08 16:27:10 +11:00
irs update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
isc Don't increment network error stats on UV_EOF 2020-10-20 14:05:09 +00:00
isccc update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
isccfg prep 9.16.7 2020-09-16 22:50:38 +02:00
ns Change the default ENDS buffer size to 1232 for DNS Flag Day 2020 2020-10-06 09:35:20 +02:00
samples The dns_message_create() cannot fail, change the return to void 2020-09-30 14:26:26 +02:00
win32/bindevt update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
.gitignore added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
Kyuafile link in lib/isccc/tests/Kyuafile 2018-11-13 07:23:36 +11:00
Makefile.in remove lib/tests as nothing uses it anymore 2018-03-09 14:12:50 -08:00