bind9/doc
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
..
arm Change the default ENDS buffer size to 1232 for DNS Flag Day 2020 2020-10-06 09:35:20 +02:00
design update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
dev update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
doxygen update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
man Try to improve rrl timing 2020-10-15 11:41:20 +11:00
misc update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
notes Don't increment network error stats on UV_EOF 2020-10-20 14:05:09 +00:00
Makefile.in add support for building sphinx documentation 2020-06-01 09:54:46 +02:00