bind9/lib/isc/netmgr
Ondřej Surý 20ac73eb22 Improve the logging on failed TCP accept
Previously, when TCP accept failed, we have logged a message with
ISC_LOG_ERROR level.  One common case, how this could happen is that the
client hits TCP client quota and is put on hold and when resumed, the
client has already given up and closed the TCP connection.  In such
case, the named would log:

    TCP connection failed: socket is not connected

This message was quite confusing because it actually doesn't say that
it's related to the accepting the TCP connection and also it logs
everything on the ISC_LOG_ERROR level.

Change the log message to "Accepting TCP connection failed" and for
specific error states lower the severity of the log message to
ISC_LOG_INFO.
2021-12-02 13:50:00 +01:00
..
http.c Add isc_nm_has_encryption() 2021-11-30 12:20:22 +02:00
netmgr-int.h Improve the logging on failed TCP accept 2021-12-02 13:50:00 +01:00
netmgr.c Improve the logging on failed TCP accept 2021-12-02 13:50:00 +01:00
tcp.c Improve the logging on failed TCP accept 2021-12-02 13:50:00 +01:00
tcpdns.c Improve the logging on failed TCP accept 2021-12-02 13:50:00 +01:00
tlsdns.c Improve the logging on failed TCP accept 2021-12-02 13:50:00 +01:00
tlsstream.c TLS stream: disable TLS I/O debug log message by default 2021-11-26 10:23:17 +02:00
udp.c netmgr: add isc_nm_routeconnect() 2021-10-15 00:56:58 -07:00
uv-compat.c Completely remove BIND 9 Windows support 2021-06-09 14:35:14 +02:00
uv-compat.h Use UV_VERSION_HEX to decide whether we need libuv shim functions 2021-05-31 14:52:05 +02:00
uverr2result.c Handle UDP send errors when sending DNS message larger than MTU 2021-06-23 17:41:34 +02:00