bind9/bin/tests/system/statistics
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
..
ans4 update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
ns1 further tidying of primary/secondary terminology in system tests 2020-07-01 11:12:12 -07:00
ns2 further tidying of primary/secondary terminology in system tests 2020-07-01 11:12:12 -07:00
ns3 Deprecate the "glue-cache" option 2020-09-16 11:18:07 +02:00
clean.sh update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
setup.sh update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
tests.sh Don't increment network error stats on UV_EOF 2020-10-20 10:57:16 +02:00