bind9/bin/tests/system/statistics
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
..
ans4 update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
ns1 update system tests so validation won't fail when using IANA key 2018-05-31 18:22:33 +02:00
ns2 update system tests so validation won't fail when using IANA key 2018-05-31 18:22:33 +02:00
ns3 check xsl vs xml 2019-06-26 14:03:53 -07:00
clean.sh update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
prereq.sh update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
setup.sh update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
tests.sh Don't increment network error stats on UV_EOF 2020-10-20 14:05:09 +00:00