mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
don't log ISC_R_CANCEL as a 'fatal error'
This commit is contained in:
parent
70fcb78509
commit
82df406152
@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: client.c,v 1.166 2001/05/14 21:12:32 gson Exp $ */
|
||||
/* $Id: client.c,v 1.167 2001/05/14 21:33:45 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@ -1263,10 +1263,13 @@ client_request(isc_task_t *task, isc_event_t *event) {
|
||||
if (TCP_CLIENT(client)) {
|
||||
ns_client_next(client, result);
|
||||
} else {
|
||||
if (result != ISC_R_CANCELED)
|
||||
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_CLIENT,
|
||||
NS_LOGMODULE_CLIENT, ISC_LOG_ERROR,
|
||||
"UDP client handler shutting down "
|
||||
"due to fatal receive error: %s",
|
||||
NS_LOGMODULE_CLIENT,
|
||||
ISC_LOG_ERROR,
|
||||
"UDP client handler shutting "
|
||||
"down due to fatal receive "
|
||||
"error: %s",
|
||||
isc_result_totext(result));
|
||||
isc_task_shutdown(client->task);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user