+1342, [func] Log remote address with TCP dispatch failures.
+
1341. [func] Allow a rate limiter to be stalled.
1340. [bug] Delay and spread out the startup refresh load.
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: dispatch.c,v 1.108 2002/05/08 06:34:30 marka Exp $ */
+/* $Id: dispatch.c,v 1.109 2002/07/29 01:03:24 marka Exp $ */
#include <config.h>
isc_boolean_t queue_response;
dns_qid_t *qid;
int level;
+ char buf[ISC_SOCKADDR_FORMATSIZE];
UNUSED(task);
default:
level = ISC_LOG_ERROR;
logit:
+ isc_sockaddr_format(&tcpmsg->address, buf, sizeof(buf));
dispatch_log(disp, level, "shutting down due to TCP "
- "receive error: %s",
+ "receive error: %s: %s", buf,
isc_result_totext(tcpmsg->result));
do_cancel(disp, NULL);
break;